Page 1 of 1

How to run ALL test suite from command line (.batch file)

Posted: Wed Feb 06, 2019 8:09 pm
by IvanT
i need help. How to run ALL test suite from command line?
call cd C:\Program Files (x86)\MSBuild\14.0\Bin\
MSBuild.exe C:\MineFrame\Martsinkevich\Geotools\GeoTools\GeoTools.sln
cd C:\MineFrame\Martsinkevich\Geotools\GeoTools\GeoTools2\bin\Debug\
GeoTools.exe
what i do wrong?
when i run exe after build, ranorex run only first test case but when i do same actions with other project it work correctly.
if you can show me example.
excuse me for my bad english

Re: How to run ALL test suite from command line (.batch file)

Posted: Thu Feb 07, 2019 3:59 pm
by McTurtle
Hello IvanT,

The default run configuration of the exe after the built will be the exact test cases that are selected at the moment when you click "Build". My guess is, that you have just the 1st test case selected:
TCs.png
If you have various run configurations, then you should add the /rc parameter after the name of the exe in the batch file to execute the correct one: Does this help?

Regards,
McTurtle