How can I initialize parameters for my keyword test before running the Keyword test.
I have a login page that has three fields ('username', 'password','company' ). 'Company' can have two values ( X or Y).
For the company field, I created a parameter and want to assign the value X or Y
My requirement is to schedule a job to run my automatic test and have the ability to specify which values I should set for the company filed ( 'X' or 'Y' )
Solved! Go to Solution.
1) Use an input box to enter the value every time you run the test
2) Use a variable for the value and edit the variable before you run the test
3) Generate a random number and have your test run one way or the other depending on the random number
4) Have your test read the value from a spreadsheet or a text file and edit the value before you run the test.
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Thanks a lot for such an informative answer Marsha!
@vsumathi does this answer your question?
Community and Education Specialist