Page 1 of 1

Run test suite with TestRunner

Posted: Wed Sep 30, 2015 5:54 pm
by c676228
Hi,

Want to get tips from all of you.
I am thinking of only install Ranorex TestRunner for testers with out Ranorex Studio.
Does that mean when I get reports from test result, I won't be able to debug the code easily since report logs are not linked to code.

Regards,
Betty

Re: Run test suite with TestRunner

Posted: Wed Sep 30, 2015 8:50 pm
by krstcs
If you just want people to be able to look at the reports, my suggestion is to change the report name to HTML, so it can be opened on any web browser. I do this an have Jenkins publish the resulting reports of my runs so that anyone can look at them at any time.

As far as being able to link from the report back to code, you need to open the report in Ranorex Studio and that means having a valid license for Studio (not just a runtime license).

Re: Run test suite with TestRunner

Posted: Fri Oct 02, 2015 12:53 am
by c676228
Hi krstcs,

Good tip for report format.

You mean even the report is created on a machine without Ranorex Studio installed, it still can be linked to the code if the report is viewed on another computer with Ranorex Studio is installed?

Regards,
Betty

Re: Run test suite with TestRunner

Posted: Fri Oct 02, 2015 4:04 pm
by krstcs
If the report is opened in Ranorex Studio while the corresponding test project is open in the SAME Studio instance, then yes, it will open the correct files when clicking the "Go to" links, no matter where the test was run.

This works even if you change the report name, because the rxlog file is actually an HTML file that is not named HTML. If you change the file extension to HTML (and the rxlog.data to html.data), it then opens in any browser (assuming you have the browser settings set to allow local scripts). It will also still link when opened in Ranorex Studio.

My suggestion is to always change the names of reports to HTML since it works in more places.

Re: Run test suite with TestRunner

Posted: Thu Oct 08, 2015 4:56 pm
by c676228
krstcs,

Thanks so much. Great tips and great explanation.

Betty