Report is not generating while executing from command prompt

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

Report is not generating while executing from command prompt

Post by kumprave5 » Tue Jul 31, 2018 6:24 pm

Project name: Workshop
Test Suite name: Demo

I am trying to run Workshop.exe file through the command prompt with ranorex window closed, it successfully run but doesn't generate report. However, when i run Workshop.exe file through command prompt with ranorex window open it successfully run and generates report.

I want to run .exe file through command prompt with ranorex window closed and it should generate report and open it.
Currently i am using this command \bin\Debug\Workshop.exe /rf:abc.html
Please suggest what i should add in this command.

User avatar
Stub
Posts: 515
Joined: Fri Jul 15, 2016 1:35 pm

Re: Report is not generating while executing from command prompt

Post by Stub » Wed Aug 01, 2018 8:35 am

I use "/rl:Debug /zr /zrf:"C:\path\report_filename.rxzlog" on my command line to create a compressed report file with lots of output. The parameter on the /rf switch appears to be optional - perhaps exclude that rather than create a .HTML file?

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

Re: Report is not generating while executing from command prompt

Post by kumprave5 » Wed Aug 01, 2018 1:07 pm

Thank you