Forum Discussion
sguda
15 years agoRegular Contributor
Hi
I recorded the script with url https://qafa.fameinc.com/CallowayQA_P1/Login.aspx.
i changed the page object url in name mapping as https://qafa.fameinc.com/CallowayQA_P*/Login.aspx, Used wild card for P1.
I changed the command line as Command line: "https://qafa.fameinc.com/CallowayQA_P2/Login.aspx as i want to test with url which has P2 in it.
I tried to run the test , at first it opened IE with new version url which has P2 in it. But it switched back to old version url with which i recorded the script originally https://qafa.fameinc.com/CallowayQA_P1/Login.aspx because in the keyword test
iexplore TOURL is pointing to https://qafa.fameinc.com/CallowayQA_P1/Login.aspx.
So do i have to change the TOURL also in my every keyword test of my project.
If so i don't want to change TO URL in my every keyword test of my project back and forth to test with different versions of applications. Can you suggest a simple solution fo this
Thanks.
I recorded the script with url https://qafa.fameinc.com/CallowayQA_P1/Login.aspx.
i changed the page object url in name mapping as https://qafa.fameinc.com/CallowayQA_P*/Login.aspx, Used wild card for P1.
I changed the command line as Command line: "https://qafa.fameinc.com/CallowayQA_P2/Login.aspx as i want to test with url which has P2 in it.
I tried to run the test , at first it opened IE with new version url which has P2 in it. But it switched back to old version url with which i recorded the script originally https://qafa.fameinc.com/CallowayQA_P1/Login.aspx because in the keyword test
iexplore TOURL is pointing to https://qafa.fameinc.com/CallowayQA_P1/Login.aspx.
So do i have to change the TOURL also in my every keyword test of my project.
If so i don't want to change TO URL in my every keyword test of my project back and forth to test with different versions of applications. Can you suggest a simple solution fo this
Thanks.
Related Content
- 2 years ago