Hi @ronak.patel
You can provide max timeout, if button appeared click and next operation otherwise wait till max time.
Or alternate you can use ,
If applicationIsSlow Then
dynamicTimeout = 120000
Else
dynamicTimeout = 60000
If you found helpful, feel free to tick as a solution.
Happy Automation