Page 1 of 1

Report no longer opens after test execution in Ranorex 4

Posted: Thu Dec 13, 2012 4:09 pm
by Zhilll
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?

Re: Report no longer opens after test execution in Ranorex 4

Posted: Thu Dec 13, 2012 4:51 pm
by Support Team
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

Re: Report no longer opens after test execution in Ranorex 4

Posted: Thu Jan 03, 2013 3:44 pm
by Zhilll
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

Posted: Thu Jan 03, 2013 3:58 pm
by krstcs
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.

Re: Report no longer opens after test execution in Ranorex 4

Posted: Mon Jan 07, 2013 4:23 pm
by Zhilll
krstcs 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.
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 completion :D

Re: Report no longer opens after test execution in Ranorex 4

Posted: Tue Jan 08, 2013 2:05 pm
by Support Team
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