I cannot provide static delays

Hi,

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.

Thanks

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

Hey @garima.sriv12

Try to make a use of "Check app State activity "
And add the delay also .

(Activities - Check App State)

Cheers: :upside_down_face:

@garima.sriv12

simply after click on attach window for the new window provide a big timeout so that till it appears it would wait

cheers

@garima.sriv12,

You should be using Check App State and provide the number of seconds you want to wait for that particular screen or Ui Element.

As soon as the desired screen/Ui Element will appear, further execution will be resumed without wasting any time.

Thanks,
Ashok :slight_smile:

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.