I have a problem, I am unable to look for a suitable activity to wait for a page to load.
I have tried a few activities :
- Wait on Element Vanish (it skips this activity)
- Element Exist (unable to proceed)
- Retry scope (unable to detect)
How about FindElement activity with WaitVisible option?
Tried however it is not working.
The WaitVisible option keeps getting skipped and it does not wait.
Error : Find Element ‘text Login’: Activity timeout exceeded
Can you share your situation in detail using screenshot etc?
Previously, we use the activity as below :
However it is not waiting for the page to load and directly skip the step.
Thank you for sharing. I’d like to confirm the above image is disappear when the page have been loaded completely, right?
In general, it might be better to check something exists which appears when page have been loaded completely.
Can you try using On Element Appear activity as it waits until the element you indicate is loaded and ready in the web page to continue with the activities that you specify within the activity. Also we have additional properties to provide a timeout period (default is 30 seconds) and another set of properties to wait till the element is visible and active…
In general, if the web page takes more than 30 seconds to load a page, change the timeout accordingly so that it wont timeout
Hope the below steps would help you resolve this
Usually we increase the timeout property like 60000 or 80000 but at times page might take more time than that
So I would suggest to go with one of your already tried method but with small changes
Use a RETRY SCOPE activity and inside the action block have a simple log message like this
“Waiting for the page to load”
- While in ACTION block use a ELEMENT EXISTS activity
Set the property as below
Timeout - 60000
WaitForReady - Complete
That’s it with element exists
Now in retry scope set these properties
Number of retries - 10
Interval between retries - leave it blank
This should work for sure
Hi, i tried this way too unfortunately it does not work.
Glad it got resolved
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.