Page 1 of 1

Add test suite status information in the progress box

Posted: Thu Sep 04, 2014 10:01 am
by symfony
Hello,

We need to add runtime information in the progress box title bar during the test suite run. Since we run the test suite continuously for hours, it will be very useful to see status in the progress box. For example, it will be nice if the progress box title bar will contain, besides the current executing test case name, the total number of executed test cases, the total number of failed test cases and the total number of passed test cases so far. This status should update after each test case finishes of course.

I don't know if this is possible because I think this would imply to access the progress box Form from a thread different than the one which created it. Therefore, if anyone managed to implement it in any way, please give me some hints how to do it. Or maybe this feature might be implemented in the future versions of Ranorex, as this functionality of posting status during test suite run (and not only at the end of the test suite run, in the test report) is very useful, especially when the test suite run takes very long time.

Thank You

Re: Add test suite status information in the progress box

Posted: Thu Sep 04, 2014 4:01 pm
by swmatisa
Hello,

I do something "similar" with the IReportLogger interface. With a class that implement this interface, you will be able to create a custom report, but also to know the current test and iteration.

Hope this help

Re: Add test suite status information in the progress box

Posted: Tue Sep 09, 2014 9:15 pm
by pkaraya
Hi swmatisa ,
Can you share a little bit more details on how you implemented the solution?

Thanks
Peter

Re: Add test suite status information in the progress box

Posted: Wed Sep 10, 2014 10:17 am
by swmatisa
Hello,

Please read my previous post http://www.ranorex.com/forum/how-to-get ... t4542.html.

Hope this help