Forum Discussion

sguda's avatar
sguda
Regular Contributor
15 years ago

Not able to run my script in another environment.

In my project for tested applications , in parameters i gave the command line as Command line: "https://qafa.fameinc.com/CallowayQA_P1/Login.aspx.



The test is running fine.



Now i want to run the test for another version of application with url Command line: "https://qafa.fameinc.com/CallowayQA_P2/Login.aspx .



So i went and changed the url in command line under the parameters with new url i want to run the test.



But it didn't change the value of iexplore step of TOURL  in the keyword test step to new url .

So i changed the TOURL  to new url https://qafa.fameinc.com/CallowayQA_P2/Login.aspx

But it is not running and looks like it is not mapping the objects correctly.



So how do i change the url to new version of application and run the same test.Please suggest the solution.

11 Replies

  • 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!