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
Tie Global Parameter to the TestRun Dropdown
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Tie Global Parameter to the TestRun Dropdown
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:
and
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
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"
Code: Select all
yourtestapp /rc:config2 /param:Domain="domain.two.here"
Regards,
Roland
Ranorex Support Team
Re: Tie Global Parameter to the TestRun Dropdown
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!
If we could tie the global variable to drop down that would be helpful too. Thanks!