Command line argument for global parameter

Ask general questions here.
Christoph
Posts: 23
Joined: Wed Jul 11, 2012 6:22 am
Location: Liechtenstein

Command line argument for global parameter

Post by Christoph » Mon Apr 08, 2013 2:39 pm

Hi,

According to the documentation it is possible to start the testsuite with a command line argument that specifies the value of a global parameter:

param|pa:<global parameter name>=<value>
Creates or overrides values for global parameters specied in the test suite.


It appears that from "... for global parameters ..." that it should be possible to supply the values for more than one paramter.

How would I do that?
CanI just use the "/pa:" argument more than once? i.e. "mytestsuite.exe /pa:myGlobalParameter1=SomeValue /pa:myGlobalParameter2=SomeOtherValue" or do I need to supply a list within the /pa: argument?

Thanks.

Christoph

darcy
Posts: 1
Joined: Mon Apr 08, 2013 7:32 pm

Re: Command line argument for global parameter

Post by darcy » Mon Apr 08, 2013 7:35 pm

you can use "/pa:" more than once on the same command line ie: "executable.exe /pa:Param1=value /pa:Param2=value"