Page 1 of 1

How to change settings for new url?

Posted: Fri Sep 23, 2016 6:25 am
by RanoPower
Our web test site has been moved after trouble. This result in new url og site address.
I can cange property - but all the different click has url adresses with wrong url. How to fix ?

Re: How to change settings for new url?

Posted: Fri Sep 23, 2016 1:39 pm
by krstcs
You are going to have to edit each RXPath that has the url hard-coded.

I would suggest that you not use the FULL url in your RXPaths, but instead use the regex equality symbol ('~') instead of equals ('=').

So, instead of:
\\atag[@href='http://www.mydomain.com/myapp/mypage.html']

You want:
\\atag[@href~'/myapp/mypage\.html']

Notice the escape character ('\') before the period ('.'), this is regex.


This will cut down on problems like this one.

Then, just change your main /dom object's domain and everything under it should work correctly.

dom[@domain='www.myNEWdomain.com' and state='complete']