viewing the test report while script is running

Ask general questions here.
Saha
Posts: 39
Joined: Tue Mar 01, 2011 6:20 pm

viewing the test report while script is running

Post by Saha » Wed May 04, 2011 9:25 pm

Hi,

Is it possible to do this?
I have a script which takes 2 hrs to finish. I would like to know is it possible to access the ranorex report file while the script is running? I don't want to wait for two hrs to find out what are the scripts which are failing, I would like to open the report file while execution is running and start working on the failed items.

Please let me know.
Thanks,
Arunima

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: viewing the test report while script is running

Post by Ciege » Wed May 04, 2011 10:11 pm

Well, you wouldn't want to do that on the same machine that is running the test else you might "confuse" the automation if you try to open the window while Ranorex is trying to interact with another window.

What you can do is from a separate machine browse to the folder location of the report being generated and open the .tmp report file in a text editor. You can then see the log as it stands at that point. Some text editors are better than others and can auto update as the file being viewed updates so you can get a close to realtime view as to what is happening.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

Saha
Posts: 39
Joined: Tue Mar 01, 2011 6:20 pm

Re: viewing the test report while script is running

Post by Saha » Fri May 06, 2011 3:54 pm

Thanks Ciege,

When I start executing I can't find any tmp file in the Reports folder. All I can see is
RanorexReport3.png
RanorexReport3.xsl
Thumbs.db

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: viewing the test report while script is running

Post by Ciege » Fri May 06, 2011 4:11 pm

Quoting the support team:
Normally the file will be generated at the location where the EXE file is placed.
Did you look here? If you do not specify a location for the report using the Report.Setup method then I believe that's where the temp report file is generated during runtime then moved to the reports folder.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

Saha
Posts: 39
Joined: Tue Mar 01, 2011 6:20 pm

Re: viewing the test report while script is running

Post by Saha » Fri May 06, 2011 4:43 pm

Got it now.
Thanks