I have a scenario where the screen takes lot of time (everytime takes alot of time) to load which indicates that I cannot provide delay of certain amount of time.
Also, I cannot use Retry Scope because it may require clicking on particular item until a certain requirement is achieved.
In my case, once I click on a button the button gets disabled and I need to wait for the screen to appear.
I would suggest using an element exists activity to check for an item on the screen that will eventually appear. Use it inside a “Do while loop” with a few seconds delay like maybe 3 seconds but you can customize the delay. It will loop trough this until the page (specifically the element) has successfully loaded
Use Check App State to wait for your result to happen. You can set the timeout very long, and it’ll wait until the result happens, or the timeout expires.