Page 1 of 1

issue on running Suite from Command Line

Posted: Fri Feb 20, 2015 7:27 pm
by Styris
Hello,

I have a Test Suite that has a bunch of test cases under it. All these TCs are under various folders.

I can run the Test Suite from Ranorex. I can also run a particular TC from the command line. However here is the main problem: I am not able to run the entire suite from the command line. As soon as I type this "Android_Automation.exe" I get this error

Re: issue on running Suite from Command Line

Posted: Mon Feb 23, 2015 2:47 pm
by Support Team
Hi Styris,

Normally this is just logged in case no test case is selected in your test suite.
Could it be that you forgot to select the test cases?
Please check the rxtst file of the directory where your exe which you use to run the test resides in.

Regards,
Markus

Re: issue on running Suite from Command Line

Posted: Mon Feb 23, 2015 8:14 pm
by Styris
Hey Markus,

Yes you are right. I did not use the entire command (for e.g. Android.exe /testcase:FirstTestCase).
I wanted to run the entire Test suite itself so I just used (Adroid.exe) without specifying the exact TC.
Are you saying that there is no way to run the entore Suite from the command line, and that we can only run specific TCs ?

Re: issue on running Suite from Command Line

Posted: Tue Feb 24, 2015 5:23 pm
by Support Team
Hi Styris,

No, this is not what I wanted to say. I wanted to say that when you just use the command Android.exe Ranorex executes the specific test cases which are selected in the test suite file which is in the same directory as your Android.exe and it seems that no test case is selected there.
So please check all your test cases, rebuild your solution and use the generated files and the command Android.exe to execute the whole solution.
So it runs the test cases defined by the test suite (rxtst) file. By default the rxtst file with the same name as the <TestSuiteExe> is used or the first rxtst file in the same folder as <TestSuiteExe>.

Regards,
Markus