Tie Global Parameter to the TestRun Dropdown : Bug Reports

Tie Global Parameter to the TestRun Dropdown

Bug reports and feature requests.

Tie Global Parameter to the TestRun Dropdown

Postby Pixi6s » Wed Jun 29, 2011 6:02 pm

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
Pixi6s
 
Posts: 86
Joined: Tue Jun 28, 2011 9:57 pm

Re: Tie Global Parameter to the TestRun Dropdown

Postby Support Team » Wed Jun 29, 2011 9:30 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Tie Global Parameter to the TestRun Dropdown

Postby Pixi6s » Thu Jun 30, 2011 7:04 pm

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!
Pixi6s
 
Posts: 86
Joined: Tue Jun 28, 2011 9:57 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron