The scenario is thus:
We are changing the url of our test site from
I have read the topics on Browser Independent scripting. To make my scripts compatible with the new page, do I change the URL / page property for all mapped objects to the new page?
You need to change the URL only for objects mapped by its value (usually, only the Page object).
Jared - AQA Support
change the mapped Page url to "http://*product.com"
My method of scripting.
1) Never used the mapped objects.
2) set the page & browser object in the library or 1 place and use it as object through out so don't worry about the page changing.
Set IE = Sys.Process("iexplore")
Set Page = IE.Page("http://*product.com")
since i have it in the library this will be global [img]/images/graemlins/smile.gif[/img]
TestComplete has an option to use Project variables in the namemapping. It's good to use in situations like that.
Also good to use when you develop project under different code names to be renamed at release time.
SDET / Consultant
Thanks guys. Will give all of your suggestions a try.