How to run .cs file from command line

Ask general questions here.
kumprave5
Posts: 33
Joined: Wed Jul 18, 2018 9:55 pm

How to run .cs file from command line

Post by kumprave5 » Mon Jul 30, 2018 9:48 pm

1. I have a TestSuiteRunner.cs file which runs all my 200 test cases . I am not using ranorex provides tree structured Test suite view but creating test suite, test case and modules using programming methods provided by ranorex.
2. Earlier I was clicking on Run button but now i want to create a command line script to run my TestSuiteRunner. cs file. How do i do that?

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: How to run .cs file from command line

Post by asdf » Tue Jul 31, 2018 8:29 am

Hi,
It is not possible to run a *.cs file. However, you can simply execute the *.exe file of your tests located in the \bin\Debug folder of your project. Here you can find more information about executing tests without Ranorex Studio.
Hope that helps.
asdf

kumprave5
Posts: 33
Joined: Wed Jul 18, 2018 9:55 pm

Re: How to run .cs file from command line

Post by kumprave5 » Tue Jul 31, 2018 4:59 pm

Thank you