Page 1 of 1

Tie Global Parameter to the TestRun Dropdown

Posted: Wed Jun 29, 2011 5:02 pm
by Pixi6s
Ranorex 3.0.2 feature request: I would like the the Global Parameter setting to be tied to the TestRun DropDown. I have a global parameter named Domain. I would like my smoketest to always be ran on DomainX and my Full Test to be ran on DomainY - I think this would be a great feature to update with changing the dropdown especially as my test suite grows.
Thanks

Re: Tie Global Parameter to the TestRun Dropdown

Posted: Wed Jun 29, 2011 8:30 pm
by Support Team
Hello,

If you have a global parameter Domain, which you have mapped to a recording variable via a test case, which is part of two configurations, and you want to run one configuration with DomainX and the other configuration with DomainY, then you can do this via the command line:

Code: Select all

yourtestapp /rc:config1 /param:Domain="domain.one.here"
and

Code: Select all

yourtestapp /rc:config2 /param:Domain="domain.two.here"
If you don't want to specify it in the command line, then you need to create a copy of your test case. In the copy you can do a new binding. Then make the first copy of the test case part of the first configuration and the second copy part of the second configuration.

Regards,
Roland
Ranorex Support Team

Re: Tie Global Parameter to the TestRun Dropdown

Posted: Thu Jun 30, 2011 6:04 pm
by Pixi6s
I think I follow, good to know when we run it during the build process.

If we could tie the global variable to drop down that would be helpful too. Thanks!