simonaferrara
4 years agoFrequent Contributor
Web tests - Wait till an URL is displayed
Hi all, in web tests, I would like to understand if there is a way to wait till an url is changed. I go in details with my situation: - when I open my web page, I set the url "URL_X" - aut...
- 4 years ago
Yes, you can use a Wait method to wait for the page to load, or a WaitProperty method to wait for the URL or href (or similar) property of the Page is updated.
Are you using Script or KeywordTests? For keyword tests you can drag an OnScreenAction or Call Object Method operation into your test, select the Page, then select the most relevant Wait method.
If you have recorded your test, TestComplete should automatically add Wait operations to the flow for page changes, but you can manually add more if needs be, using the above operations.
Some more options here - Waiting for Web Pages
Hope this helps