Report no longer opens after test execution in Ranorex 4
Report no longer opens after test execution in Ranorex 4
Yesterday I upgraded to Ranorex 4.0. I noticed now when I execute a test, the resulting report does not automatically open as it did previously. I did not change anything in the code, so I'm wondering if this has something to do with the new Ranorex 4.0?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Report no longer opens after test execution in Ranorex 4
Hi,
Please check in Ranorex Studio "Tools->Options->General->Ranorex Report Viewer" if you turned on the following settings: "Open report after execution" and "Automatically copy/move report files to the project reports directory".
Are you able to open the report in Internet Explorer if your rename the two files to "*.rxlog.html" and "rxlog.html.data"?
Regards,
Markus
Please check in Ranorex Studio "Tools->Options->General->Ranorex Report Viewer" if you turned on the following settings: "Open report after execution" and "Automatically copy/move report files to the project reports directory".
Are you able to open the report in Internet Explorer if your rename the two files to "*.rxlog.html" and "rxlog.html.data"?
Regards,
Markus
Re: Report no longer opens after test execution in Ranorex 4
Thanks Markus. I checked my options and these options are indeed checked but the report is still not opening after test execution. I can open the reports if I navigate to the reports folder where it is stored, but it is much more convenient to have this open automatically.
Re: Report no longer opens after test execution in Ranorex 4
Also, make sure that your test .EXE is not crashing at the end.
I have found that if my test .EXE crashes, the system does not write the report correctly.
I have found that if my test .EXE crashes, the system does not write the report correctly.
Shortcuts usually aren't...
Re: Report no longer opens after test execution in Ranorex 4
The report is created fine, it just won't open when the tests are finished running. I can navigate to the folder where they are stored, it's just kind of nice having it open upon test completionkrstcs wrote:Also, make sure that your test .EXE is not crashing at the end.
I have found that if my test .EXE crashes, the system does not write the report correctly.

- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Report no longer opens after test execution in Ranorex 4
Hi,
Which Ranorex version do you have used before you updated/installed 4.0?
Could it be that you are using a custom report format (custome xsl file), do you use Report.Setup() in code?
Regards,
Markus
Which Ranorex version do you have used before you updated/installed 4.0?
Could it be that you are using a custom report format (custome xsl file), do you use Report.Setup() in code?
Regards,
Markus