Name Mapping - Extended Find - Changing parent URL
Hi,
I have a web page deployed to two different environment.
The source codes are exactly the same.
When I write JS script for www.test.com, in NameMapping section -- Mapped Objects window, I can see pageWWWTestCom under browser. The same thing when I write script for www.prod.com.
The children (panel, panel (1), etc) of that pageWWWTestCom are the same as pageWWWProdCom.
Currently, after I finish writing JS script for www.test.com and it runs fine in www.test.com , I need to change the aliases in my script so I can re-use it and run it in www.prod.com
That takes time.
I am just wondering, why can't we use extended find and drag all those children (panel, panel(1), etc) directly to be under browser, so I don't need to change the aliases in my script. Because all the children are the same, the only difference is just the parent URL.
Is there any other good method that I can use , so I don't need to keep changing the aliases in my script every time the parent URL change ?
Thank You.