Page 1 of 1

HowTo - Run multiple TestCases via CommandLine

Posted: Thu Jul 13, 2017 8:38 am
by mw-tw
Hi,

i want to automate my Ranorex-Testcases via JENKINS and developed all Testcases in one TestSuite.

Is there a way to define multiple TestCases to run via CommandLine? in the Ranorex documentation i only find the parameter "/tc:AddNewEntry" to run one single testcase.


Br
Timo

Re: HowTo - Run multiple TestCases via CommandLine

Posted: Thu Jul 13, 2017 9:42 am
by Stub
Look into run configurations, using the /runconfig, or /rc for short, command-line parameter:
Runs the test cases of the specified configuration defined by the rxtst file.
Configurations can be edited using Ranorex Studio or TestSuiteRunner.
By default, the currently selected run config is used.

Re: HowTo - Run multiple TestCases via CommandLine

Posted: Thu Jul 13, 2017 6:12 pm
by Vega
Exactly what stub said, run configurations are the key. Basically group your desired test cases into run configurations and then call the corresponding run configuration. <test exe name>.exe /rc:SmokeTest

run configs:

https://www.ranorex.com/help/latest/les ... aTestSuite

If needed you can find the list of arguments here:

https://www.ranorex.com/help/latest/les ... orexStudio

Re: HowTo - Run multiple TestCases via CommandLine

Posted: Wed Jul 19, 2017 7:32 am
by mw-tw
great, thanks :)