Can't manually view rxlog file via rxlog viewer

Ask general questions here.
fester13579
Posts: 30
Joined: Thu Feb 13, 2014 10:29 pm

Can't manually view rxlog file via rxlog viewer

Post by fester13579 » Mon Jun 25, 2018 4:40 pm

Hello,

When I am in studio v7.2.1 I can navigate to the reports then double click on one and I can see all the details of a test run, EXPAND & COLLAPSE work as expected.

However, if I open the report folder in explorer and double click on a rxlog file I cannot expand my reports and view them outside of studio. Why is this the case and should there be other steps to take to double click on the report?

This is the same path that studio is writing its report into so the files RanorexReport.css, RanorexReport.png, RanorexReport.xsl as well as the rxlog.data and images_* files and folders are in the same directory.



Example of report when you double click on the rxlog file via explorer - EXPAND DETAILS does nothing and there is no test data to view:
0336.jpg
0336.jpg (11.14 KiB) Viewed 125 times

Why is the behavior different between studio and explorer :?:

Thanks...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Can't manually view rxlog file via rxlog viewer

Post by Support Team » Mon Jun 25, 2018 9:04 pm

Hi Fester,

If you can provide the compressed copy of the report opened in Ranorex Studio, and the one opened externally, I will be more than happy to further investigate this.

Cheers,
Ned
.
Image

fester13579
Posts: 30
Joined: Thu Feb 13, 2014 10:29 pm

Re: Can't manually view rxlog file via rxlog viewer

Post by fester13579 » Mon Jun 25, 2018 9:37 pm

files.zip
compressed log example and entire reports dir
(981.65 KiB) Downloaded 5 times
Here is a single zip that contains the entire reports dir as well as the single compressed report.
The expand button does not work in either version when you open via explorer.



As you can see in this example, the lower window is studio with all the steps, the top most window is the manual open of a report file after expand details was clicked.
0338.jpg
0338.jpg (53 KiB) Viewed 119 times

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

Re: Can't manually view rxlog file via rxlog viewer

Post by odklizec » Tue Jun 26, 2018 7:28 am

Hi,

It looks like the IE security settings issue, we discussed in the past? But the strange part is, why it works in Studio? Anyway, check this post...
https://www.ranorex.com/forum/ranorex-r ... tml#p47936
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

fester13579
Posts: 30
Joined: Thu Feb 13, 2014 10:29 pm

Re: Can't manually view rxlog file via rxlog viewer

Post by fester13579 » Tue Jun 26, 2018 7:06 pm

When I enable Active Scripting that fixed the issue.

Not sure why it worked in studio either but thank you for pointing me in the right direction.


Also, since I need to change this setting for every SUT I provision, I wrote this AutoIT script to change the setting via CLI - See attached.
Hopefully this is of use to someone else.

Code: Select all

<snip>
	Local $Zone3_LM = RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\", "1400", "REG_DWORD", "0")
	Local $resultZone3_LM = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\", "1400")

	Local $Zone3_CU = RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\", "1400", "REG_DWORD", "0")
	Local $resultZone3_CU = RegRead("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\", "1400")
</snip>
Attachments
IE-Enable-Disable_Active_Scripting_2018-06-26_12.59.02.zip
AutoIT script to Toggle IE Active Scripting setting via registry.
(574.82 KiB) Downloaded 6 times

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

Re: Can't manually view rxlog file via rxlog viewer

Post by odklizec » Wed Jun 27, 2018 5:36 am

Hi,

Nice to hear it helped. And thanks for your script!
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