Hi There
After looking at the following documentation : http://www.ranorex.com/support/user-gui ... html#c3022
I am trying to run a test-case from the command line passing in data parameters. I am using the following format : mytests.exe /testcase:testcase1 /param:name="testname" /param:description="description"
In the testcase I have not assigned a data source, but under data binding I have added paramters with the same names as the variables in the recording, entered a default value, and selected the correct module variable from the drop down list.
Running the test from the command line, runs the correct testcase but only enters the default values I entered into the Data binding window and not the parameters I have passed on the command line?
Am I doing this correctly?
Thanks
Running test from command line with parameters
-
- Posts: 10
- Joined: Mon Feb 20, 2012 3:07 pm
-
- Posts: 10
- Joined: Mon Feb 20, 2012 3:07 pm
Re: Running test from command line with parameters
Can I have some feedback on this please?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Running test from command line with parameters
Hi,
sorry for the late response.
Instead of adding parameters for the specific Test Case you have to add "Global Parameters" for the whole Test Suite, to make them set-able from command line as described in following chapter of our user guide:
Test Suite Settings.
Regards,
Tobias
Ranorex Team
sorry for the late response.
Instead of adding parameters for the specific Test Case you have to add "Global Parameters" for the whole Test Suite, to make them set-able from command line as described in following chapter of our user guide:
Test Suite Settings.
Regards,
Tobias
Ranorex Team
-
- Posts: 10
- Joined: Mon Feb 20, 2012 3:07 pm
Re: Running test from command line with parameters
Thanks for you reply Tobias, I will give that a try.