Suppose i have automated a web application and in the production environment the base URL of the web app changes. what to do if this issue occurs in real time?
Suppose i have automated a web application and in the production environment the base URL of the web app changes. what to do if this issue occurs in real time?
When spying elements in HTML mode, unless you absolutely have to, it is advised that you do not match on the URL attribute because of the exact issue you've mentioned above.
You'll find that 99% of HTML elements can be found without matching on URL.
But what if the URL of your start page changes like if https://www.youtube.com/ changes to https://www.tube.com/
If this changes then we cant navigate only right so element identification comes after this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.