Parameterize Variables

Ina Raschke, modified 3 Years ago.

Parameterize Variables

Youngling Post: 1 Join Date: 9/28/20 Recent Posts
Hi!
Is it possible to parameterize variables in the  testcases? I would like to use a single testcase for several input,  like different passwords for different users.
Best Ina
thumbnail
Torsten Stolpmann, modified 3 Years ago.

RE: Parameterize Variables (Answer)

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Ina,

yes, this is indeed possible.

Please refer to the following sections in the documentation which should give you the basic idea:

5.3.14. Referencing Object Properties
5.3.15. Referencing Attachments

So in your case, you would add your user passwords in an excel file as an attachment and select the row containing the password to use via a user defined field on your test case.
Using a test segment you can include the login part of your test case from a single definition.

if you have any questions during your evaluation or need to extend your free trial period, please drop us a note at support@verit.de. We are always happy to help.

Kind regards

Torsten