Base URL change of web app in production

dheeraj

New Member
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?
 

cs.andras

Active Member
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?
Hi,
Try dynamic as the property type for the window head / URL...etc. Check if either dev or prod loads.
 

RDawson9

Geek
Staff member
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.
 

RDawson9

Geek
Staff member
Rather than hard-coding the URL into Application Modeller, you can provide it as an input to the Navigate stage which will Launch your website.

If the website changes completely and the elements change then obviously a re-spy will be required.
 

RPA_1

Member
Always use environment variable to point to different urls like testing uat and production. That always advisable
 
Top