I have the following situation where a form, after being submitted, redirects to a temporal "waiting page". That one is being auto-refreshed every 5 secs until the report is created (takes between 15 and 20 secs to get that report). Finally the "wainting page" redirects to the (unique) report html page.
I would like to have a validation on an element from the last page (the created report page). But the only way that the validation works is by using a wait 20secs, after submit the form, and then doing the validation. Not sure but seems that the "Wait - Validation" action doesn't wait, looking for the validation element, if the page is refreshed.
Do you have any suggestion better than the Wait for time?
Answer by Nyna W. ·
Have you tried to use the Wait-Validation action to validate an element that is fresh to the page after report is created? I recommend you validating such an element other than an element from the last page. Since the Wait Validation action is only to wait for the element specified. In other words, if the element is already downloaded, the wait validation action is completed. It will not wait for the full 30 seconds.
Hope it helps.
Answer by Rodrigo A. ·
Finally the Wait-Validation worked. Seems that it validates just if a locator is used: