How do i run the same Keyword Test on a different urls?
How do i run the same Keyword Test on a different urls?
For example:
I want to go to https://eoffice.epartconnection.com and fill in the login info and click submit.
Then, I want to go to https://eoffice.staging.epartconnection.com and preform the same test.
When I try this now it give me this error:
The test object was not found when executing the Click command:
Aliases.browser.pageEofficeEpartconnectionCom.formForm1.textboxStoreidtextbox
If you want to go in and change the value manually every time, use the project variable directions from your original thread:
Then in your test, you will build the object name
"Aliases.browser." + myvariablename + ".formForm1.passwordboxPasswordtextbox"
and use eval to make it an actual object that you can enter text into or click or whatever.
------
If you want to enter the value automatically and have the test run in a loop, you can put the URL values in a spreadsheet and at the top of the loop, read the URL into the project variable and the rest will be the same as above.