Page 1 of 1

Testreport not complete

Posted: Wed Feb 03, 2021 10:33 am
by dareim
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
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?

Re: Testreport not complete

Posted: Wed Mar 03, 2021 2:17 pm
by manish
On the very last step try to use this

Code: Select all

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

Re: Testreport not complete

Posted: Tue Mar 09, 2021 2:33 pm
by dareim
Yes, this works fine!
Thanks