Report doesn't always generate.

Ranorex Studio, Spy, Recorder, and Driver.
QATest879
Posts: 32
Joined: Fri Jul 02, 2021 2:35 pm

Report doesn't always generate.

Post by QATest879 » Mon Jan 03, 2022 4:59 pm

Sometimes when Ranorex tries to generate a report it fails and asks me if I want to download the report from online.

And if I try to open the report in the reports folder I get this error message:

The data file (reportname.rxlog.data) or transformation cannot be accessed. Possible reasons include:
- The file does not exist in the current location.
- Chrome-based browsers and Firefox cannot load local data files with file:// URLs without allowing file access.
- The test run is in progress and the data file is locked due to frequent saving operations.
- Wait until the test run has finished and increase the auto-save interval of the report for future test executions.
- The report contains invalid XML/XHTML, e.g. unclosed tags. Check code that uses the Report.LogHtml method to only log well-formed XHTML.

Does anybody know what could be causing this or how to fix it? :?: Thank you.

Elena_v
Posts: 18
Joined: Tue Jun 25, 2019 4:27 pm

Re: Report doesn't always generate.

Post by Elena_v » Tue Jan 04, 2022 11:51 am

All possibilities are already written in the ranorex error :D .
1) Did you try punkts in "Possible reasons include"?
2) Does the file exist in the current location?
3) Do you wait until the test run has finished?
4) Do you try to open *.rxlog on your PC or in browser?
Can you send a screenshot of your reports customization?

amr
Posts: 1
Joined: Fri Feb 04, 2022 1:54 pm

Re: Report doesn't always generate.

Post by amr » Fri Feb 04, 2022 1:58 pm

I've asked the Help Line and searched for more than one Year !! but didn't found an answer: Why are Rrx Reports do not open in a Browser?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Report doesn't always generate.

Post by odklizec » Mon Feb 07, 2022 8:14 am

amr wrote:
Fri Feb 04, 2022 1:58 pm
I've asked the Help Line and searched for more than one Year !! but didn't found an answer: Why are Rrx Reports do not open in a Browser?
To open Ranorex reports in web browser, reports must be saved with HTML extension. And even with this extension, reports currently opens only in IE. Ranorex 10.1.6 added support for Chrome and Edge, but it seems it does not work? ;) So IE is currently the only supported browser.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration