geneticmaterial
3 years agoContributor
Detect URL change in TestComplete
I need to assert the contents of a URL as a user navigates through a site.
We use Chrome and CANNOT use any other browsers.
I initially looked to use events, specifically 'onwebpagedownloaded', to then run some javascript code to execute the content assertions:
https://support.smartbear.com/testcomplete/docs/reference/events/onwebpagedownloaded.html
However, this is not an option for Chrome:
One way to do this would be to inject a script routine for every known page/url change on every keyword test, something I am keen to avoid.
Any ideas on what I could try? Custom event?
Thanks
Dan