cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to run my script in another environment.

sguda
Regular Contributor

RE: Not able to run my script in another environment.

Thanks a lot. i will try the defining varable but how will the test know which tested apps item it should use when we define two items in tested apps.
mazhar555
Contributor

RE: Not able to run my script in another environment.

Hi, i just read ur complete thread, as per my understanding you need to change the URL to wild card in name mapping. e.g. your site contains multiple pages like Login, form submission, result etc....you will see all pages in name mapping, when you click each page you will see its properties like Object Type = Page and URL = siteURL. now you just need to change the URL of each page to *. Now if u open site A or site B TC will look the object in the opened site, dont care against which site you have recorded the script. For reference i am attaching a word document. I hope it will help you.



Thanks!
-
Muhammad Mazhar Mahmood
Certified Software Tester (CSTE)
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors