How to run .rxtst from command line.

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

How to run .rxtst from command line.

Post by kumprave5 » Wed Aug 01, 2018 6:26 pm

1. I have created the build using
MSBuild.exe "C:\Users\abc\Desktop\Ranorex Tutorial\Workshop\Workshop.sln" /t:Clean,Build

Now, I want to run Workshop.rxtst file from the command line for that i am using
C:\Users\abc\Desktop\Ranorex Tutorial\Workshop\Workshop\bin\Debug\Workshop.rxtst

This command opens up the Ranorex TestSuite Runner but doesn't start the execution. How can i start the execution?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to run .rxtst from command line.

Post by Support Team » Wed Aug 01, 2018 6:49 pm

Hi kumprave5,

The Ranorex Test Suite Runner itself is a tool to help modify the test suite prior to execution. What you want to run the test executable itself. Note, you can customize the test via the command line interface when launching the test executable.

1.png
1.png (21.77 KiB) Viewed 224 times
Example:

Code: Select all

Sample_Project.exe /zipreport /runconfig:Smoke /testcasedatarange:TestCase1=1-5
2.png
2.png (7.17 KiB) Viewed 224 times
I hope this helps!

Cheers,
Ned
.
Image

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

Re: How to run .rxtst from command line.

Post by kumprave5 » Wed Aug 01, 2018 10:04 pm

Thank you for the prompt response. When I execute .exe file, application GUI is not visible. Do i need to pass any argument or change any settings?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to run .rxtst from command line.

Post by Support Team » Fri Aug 03, 2018 9:53 pm

Hi kumprave5,

Executing the exe file should be no different than clicking RUN in the Ranorex Test Suite Runner or clicking the play button within Ranorex Studio and you should not have to add any extra arguments or change any settings. Are you able to provide a compressed copy of your solution so I may further investigate?

Thanks in advance!

Cheers,
Ned
.
Image

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

Re: How to run .rxtst from command line.

Post by kumprave5 » Mon Aug 06, 2018 1:16 pm

It is working now. Thank you for the help.