vsumathi
5 years agoOccasional Contributor
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 o...
- 5 years ago
You can
1) Use an input box to enter the value every time you run the test
https://support.smartbear.com/testcomplete/docs/reference/program-objects/builtin/inputbox.html
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
https://support.smartbear.com/viewarticle/54645/
4) Have your test read the value from a spreadsheet or a text file and edit the value before you run the test.
https://support.smartbear.com/testcomplete/docs/reference/program-objects/ddt/index.html