Testreport not complete

Ranorex Spy, Recorder, and Studio.
dareim
Posts: 14
Joined: Tue Apr 22, 2008 8:19 am

Testreport not complete

Post by dareim » Wed Feb 03, 2021 10:33 am

The situation:
I want to send the Ranorex-Testreport automated to another tool. (Jira Testmanagement)
Therefore, I have to pick the report, before the script has finished.
Workflow.jpg
Workflow.jpg (42.7 KiB) Viewed 197 times
The problem:
The report seems not always to be complete. The last one or two steps are missing.
I can use a workaround when I insert a delay (about 30sec) before I start to read the report files, but this is not very reliable.

Is there a way to detect, when the testreport is ready?

manish
Certified Professional
Certified Professional
Posts: 53
Joined: Fri Aug 10, 2018 12:46 pm

Re: Testreport not complete

Post by manish » Wed Mar 03, 2021 2:17 pm

On the very last step try to use this

Code: Select all

Ranorex.Core.Reporting.TestReport.SaveReport();
Then attach it to your JIRA issue.

dareim
Posts: 14
Joined: Tue Apr 22, 2008 8:19 am

Re: Testreport not complete

Post by dareim » Tue Mar 09, 2021 2:33 pm

Yes, this works fine!
Thanks