Using Global Parameters is very easy. First you have to create them (i hope you know how you do that) and then you'll have to bind them to a variable.
Assign the global parameter to the variable you want to run with the fortune value of the global parameter.
To use it in your test you will have to start your Test per commandprompt
1.) open the cmd
2.) <path to the executable test> /pa: <name of global parameter>=<value of the global parameter>
3.) execute the command
For not always opening the command prompt you can wirte a batch file to execute your test:
- Code: Select all
@echo off
<path to your executable test> /pa: <name of global parameter>=<value of the global parameter>
Or you can simply use the default value of the parameter. Works fine too.
if you have more than one global parameter, just add another /pa: <name>=<value>