Page 1 of 4
"Open report after execution" does not work
Posted: Tue Dec 18, 2012 4:42 pm
by bkruse
Hi,
after upgrading to Ranorex 4, the "Open report after execution" is not working anymore.
Previously, the report popped up in Ranorex Studio once the run was complete.
Now it does not. Tools > Options > Tools > Ranorex Report Viewer > Open report after execution is checked.
I also disabled it, hit Ok and re-enabled it, to no success.
Due to SVN, the Option "Automatically copy/move report files to the project reports directory" is disabled.
Directly after upgrading (and migrating the Ranorex Projects) the SVN had an error (on "Commit"), but that cleared after I manually commited the changes to SVN via Tortoise/Windows Explorer.
In the output folder, the *.rxlog file is written.
We use a custom Stylesheet and logFileName is just a string:
Code: Select all
// set a custom stylesheet for the default XML report
XmlLogger.SetReportStylesheetFile("Modules\\CustomStylesheet.xsl");
// append to an existing file with the same name
Report.Setup(ReportLevel.Debug, logFileName, true);
Any ideas?
best regards,
Björn
Re: "Open report after execution" does not work
Posted: Wed Dec 19, 2012 3:11 pm
by Support Team
Hello,
We have changed custom reports in Ranorex 4.0.
Could you please verify if you get a warning message as shown in our
User Guide?
Regards,
Markus (T)
Re: "Open report after execution" does not work
Posted: Wed Dec 19, 2012 3:32 pm
by bkruse
Hi,
just checked, there are 0 Errors, 0 Warnings, 0 Messages (even after a Solution > Clean Solution followed by Solution > Build Solution).
Can I manually open this Resolve Dialog?
regards, Björn
Re: "Open report after execution" does not work
Posted: Thu Dec 20, 2012 11:26 am
by Support Team
Hello,
It is not possible to get this dialog without the warning.
Please update to our current version 4.0.1 (
Download) and let me know if it fixes your issue.
Regards,
Markus (T)
Re: "Open report after execution" does not work
Posted: Thu Dec 20, 2012 7:37 pm
by bkruse
Nope, still the same as described above, didn't notice any change.
Project/Solution originates in Ranorex 2.3, was converted with Ranorex 3 and now to 4.
Does that matter?
regards, Björn
Re: "Open report after execution" does not work
Posted: Fri Dec 21, 2012 4:25 pm
by Support Team
Hi,
Do you have considered the points mentioned on the following link?
Working with 2.X Projects in 3.X Test Suites
Did it work with 3.X?
Is the report generated after the test finished, I mean can see a rxlog file in the output directory of your project?
Regards,
Markus
Re: "Open report after execution" does not work
Posted: Fri Dec 21, 2012 5:03 pm
by bkruse
Hi,
yes.
Yes.
Yes.
(It was working for months in Ranorex 3, just after installing 4 (and 4.01) it does not work anymore.)
The rxlog file is generated correctly in the output (bin/Debug) folder. Sure I can open it from there.
Strange:
- a brand new project in R4, with the same custom logging, does open the standard Ranorex Report (not the custom one. Both are generated in bin/Debug)
- my old project, even when I comment out the custom loggin, does NOT open the Ranorex Report
Maybe I should post my little project?
Thanks for the keep-up,
Björn
Re: "Open report after execution" does not work
Posted: Fri Dec 21, 2012 5:30 pm
by Support Team
Hi,
Okay that's weird!
Yes please, you could post it here or you could also send it to
[email protected].
Regards,
Markus
Re: "Open report after execution" does not work
Posted: Fri Jan 11, 2013 6:50 pm
by WorkTech
Markus,
This is the exact issue we are having here at WorkTech.
After running the 4.01 upgrade, when we run a test, and the report should open at the completion of the test.
As suggested in previous posst we have checked the IE settings and have reinstalled the application with NO CHANGES.
This is really putting our testing behind.
I have even created a new test case in my new install and still no change.
I'm considering reinstalling 3.3.1
Larry
Re: "Open report after execution" does not work
Posted: Fri Jan 11, 2013 7:03 pm
by bkruse
Hi,
a workaround for us is to use both, Report.Setup(...) and TestReport.Setup(...)
That way both (Ranroex 2 style and Ranorex 4 style) reports are generated to bin/Debug and the Ranorex 4 report is opened after execution.
Code: Select all
Report.Setup(ReportLevel.Debug, logFileName, true);
TestReport.Setup(ReportLevel.Debug, logFileName.Replace(".rxlog", "_new.rxlog"), true);
maybe that helps,
Björn
Re: "Open report after execution" does not work
Posted: Thu Jan 24, 2013 6:31 pm
by Support Team
Hi,
This will be fixed with the next Ranorex version.
The 2.X report will be opened automatically after test execution.
Regards,
Markus
Re: "Open report after execution" does not work
Posted: Thu Feb 14, 2013 11:25 am
by sauer-peters
Hi Ranorex Team,
I just updated to Ranorex 4.0.2 from 3.3.4 and I'm facing the same issue as descibred above.
The report does not open automatically after running a test in RnxStudio. The report is created and I can open it manualy from the defined output directory (which is not bin/debug but a relative path defined in projects settings like ../../../runtime-uitest).
In the last post (Jan 24) you anounced that this will be fixed in the next version which was released Jan 30.
I also found this in the 4.0.2 release notes "Fixed Ranorex 2.X style reports not being opened automatically after automation has finished".
But it seems that this problem is still there in version 4.0.2.21666.
Regards,
Sebastian
Re: "Open report after execution" does not work
Posted: Mon Feb 18, 2013 12:52 pm
by Support Team
Hi,
It should be fixed with 4.0.2 and I also checked if it works and in my case on may machine it works as expected, the old report was automatically opened after the execution.
In order to reproduce the issue could you send us a small sample solution where we can see the described behavior?
Thanks,
Markus
Re: "Open report after execution" does not work
Posted: Mon Mar 11, 2013 12:45 pm
by Jens
Hi,
Unfortunately this problem still exists.
We are currently evaluating Ranorex 4.0.2.21666.
Thus all tests and reports have been created in 4.0.2.
Are there any news how to fix this issue?
Thanks,
Jens
Re: "Open report after execution" does not work
Posted: Tue Mar 12, 2013 2:40 pm
by Support Team
Hello,
It should work with Ranorex 4.0.2. Could you please check if the setting 'Open report after execution' is checked in 'Options/Ranorex Report Viewer'?
Do you use the old Ranorex 2.x Style?
Do you use Report.Setup() somewhere in your test?
Is it possible to send us a small sample application that shows this behavior?
Thank you in advance.
Regards,
Markus (T)