Page 3 of 4

Re: "Open report after execution" does not work

Posted: Mon Jun 29, 2015 9:37 pm
by afleitas
Hello,

I see what the issue is, Ranorex will not display reports that are in teh Bin/Debug folder. The reports should be in the "Reports" folder, but it seems that your Reports haven't been created in the root directory of the project. ie: testthis/testthis/reports

Try moving the entire solution to the C:/ directory and reattempt to run the case. The reports folder should be created automatically after the case is ran.

This seems like a policies issue.

Re: "Open report after execution" does not work

Posted: Wed Jul 15, 2015 5:59 pm
by csqepaul
I think I have found the cause. It would appear that if the Report File extension is not rxlog, the Reports folder in the solution tree view will show nothing.

Re: "Open report after execution" does not work

Posted: Wed Jul 29, 2015 6:17 pm
by csqepaul
Additionally, the reports will show in the Reports tree node of the solution if you shutdown Ranorex Studio and then relaunch it. However, any additional test runs will not have their reports added to the Reports sub nodes.

Re: "Open report after execution" does not work

Posted: Wed Nov 11, 2015 3:47 pm
by pierre2
Hello,

I still have the same problem, for weeks I had the reports that opened automatically after a test suite run, now for about two weeks it does not and also the reports aren't listed under Reports in the Project view. So the bug looks like it's still here.

In the settings the option to automatically open the reports is checked.

I use Ranorex Studio version 5.4.3.26.106.

Have you any update on this bug? Thank you.

Re: Way to specify report folder?

Posted: Wed Nov 11, 2015 4:33 pm
by pierre2
Hello!

For a while now, the reports do not get saved to the Reports directory but instead pile up in my bin/Debug directory. I cannot remember if it was always so.

I had "Reports" removed from the project but added it again. "RepositoryImages" is still present.

In the options, the option "Automatically copy/move report files to the project reports directory" is checked.

I would like to have the reports saved to this directory, and not under bin/Debug.

Thanks!

Re: "Open report after execution" does not work

Posted: Thu Nov 12, 2015 9:35 am
by Support Team
Hello pierre2,

I have seen that you have created two forum posts for a related issue, so we merged them.

It’s not possible to deactivate the report generation within the “bin/debug” folder if the report should be shown within the “Reports” folder. The reports are copied from “bin/debug” to the “Reports” folder if the mentioned setting: "Automatically copy/move report files to the project reports directory" is checked.

As for your issue, please try to create a new Ranorex solution and see if the reports open automatically. Also, please check whether the “Open report after execution” is checked within “Tools -> Options -> General”.
ReportOptions.png
Regards,
Robert

Re: "Open report after execution" does not work

Posted: Fri Jun 17, 2016 7:11 am
by charismaumbac
Hi All,

I would like to seek help also on how to enable back the Report generated after running the test cases or test suite. It's just suddenly happened today when I continue working on my Test project. I tried the same steps above like checking the options in Report Viewer but it still the same, no Reports recorded.

Please advise on how to proceed with this.

Thanks,
Charisma

Re: "Open report after execution" does not work

Posted: Mon Jun 20, 2016 2:16 pm
by Support Team
HiCharisma,

Please try to reset your report configuration, e.g. file location, to the default. Please ensure that your test and your report gets stored locally and that you have sufficient permission to read and write from the folder where your report gets stored.

Furthermore, please try deleting the following file from your system
C:\Users\YOUR_USER_NAME\AppData\Roaming\RanorexRecentReports.dat

Sincerely,
Robert

Re: "Open report after execution" does not work

Posted: Mon Jul 18, 2016 3:13 pm
by mhare
I just had the same thing happen, when running tests from studio, to validate changes the report failed to open at the end of the run.

I only followed some of the post above...
Furthermore, please try deleting the following file from your system
C:\Users\YOUR_USER_NAME\AppData\Roaming\RanorexRecentReports.dat
I deleted the file, then ran a recording module and the report was visible.

Re: "Open report after execution" does not work

Posted: Tue Jul 19, 2016 6:36 am
by Support Team
Hello mhare,

Thank you for sharing your experience. I'm glad that you could overcome the issue.

Sincerely,
Robert

Re: "Open report after execution" does not work

Posted: Thu Aug 18, 2016 3:30 pm
by SPluemper
Hello,

I have installed a test version of the Ranorex Studio 6.0.2 in a VMWare Player 12.1.1 with Windows 10 1607.

At my real test PC (running with Windows 7 SP1) the report opens after finishing the test, but in the VM it have to be open manually.

I deleted the "C:\Users\YOUR_USER_NAME\AppData\Roaming\RanorexRecentReports.dat" but it doesn't fixed the problem.

The reports are located at the same local (virtual) disk as the solution. I simulate the same hard disk configuration inside the virtual machine and copied the solution in the same virtual drive and path as on my real PC.
The target is to test if we could use not only our software with Windows 10 but also the Ranorex Studio without any modifications.

Is it a problem of Ranorex in Windows 10 to show reports automatically ?

Re: "Open report after execution" does not work

Posted: Mon Aug 22, 2016 9:51 am
by Support Team
Hello SPluember,

Unfortunately, there are no known issues regarding the automatic opening of the generated report on Windows 10. Please ensure that firewalls and/or virus scanners are deactivated. Please try disabling the UAC (User Account Control)

Also, please check if the issue occurs with a newly created Ranorex solution.

I hope this information helps.

Sincerely,
Robert

Re: "Open report after execution" does not work

Posted: Mon Aug 29, 2016 9:47 am
by SPluemper
Hello,
I have tested it with a small new solution and there it works.

It is possible that this is a problem from copying the solution under Windows 7 to Windows 10 without any modifications ?

Re: "Open report after execution" does not work

Posted: Mon Aug 29, 2016 10:06 am
by SPluemper
Annotation: the generated reports are not listed at the Projects list at Windows 10, in opposite to Windows 7

Re: "Open report after execution" does not work

Posted: Tue Aug 30, 2016 8:18 am
by Support Team
Hello SPluemper,

Thank you for the information.
It is possible that this is a problem from copying the solution under Windows 7 to Windows 10
This should not cause any issues.

Unfortunately, it's really hard find an explanation for why this happens. It seems to be related to that specific solution. Maybe you could compare your solution with the newly created one to find some differences. I'm afraid that we can only be of little help in this matters.

Thank you for your understanding.

Sincerely,
Robert