Hi,
When playing a scenario, how can we make sure the right page is being loaded with the right text displayed in the page.
We need to check the URL to make sure that, if there is a redirection (to a login page for instance), we reach the right page. So even if the scenario clicks on a link to http://www.mysite.com/mypage.asp, I need to confirm the scenario is reaching http://www.mysite.com/login.asp.
We tried with SyncOnURL but, it the correct URL is not loading (if the redirection to the login page did not happen for some reason), SyncOnURL waits until it timeouts. We need a solution that exists the scenario immediately with an ERROR code if the URL reached is not the right one.
For the text, same thing with SyncOnText. If the page does not contain the expected text, we need the scenario to abort immediately, not wait till it gives a timeout.
Thanks!