Page 1 of 1

unexpected error ...while loading the log file

Posted: Fri Jul 29, 2011 9:29 pm
by chunkylover53
Hi,
I'm using Ranorex Studio eval version 3.04 on Windows 2008 Enterprise SP2
My test is just a few lines of code which get executed without a problem.
However at the end of the test I fail to get a report. Instead I get an error box that appears.
I've attached a screen shot.
Please help.
Thanks
CL53

Re: unexpected error ...while loading the log file

Posted: Mon Aug 01, 2011 3:21 pm
by Support Team
Hi,
chunkylover53 wrote:My test is just a few lines of code which get executed without a problem.
However at the end of the test I fail to get a report. Instead I get an error box that appears.
I've attached a screen shot.
I tried to reproduce it, but I wasn't able too. Did you add the exceptions for the content to IE?
Would it be possible to send or post us the project?
Is it possible to open the Report file if you double-click it Windows Explorer?

Regards,
Peter
Ranorex Team

Re: unexpected error ...while loading the log file

Posted: Mon Aug 01, 2011 5:26 pm
by chunkylover53
Yes I added exception in IE and I can open the report file.
The project is attached.
RemSmokeTests.zip

Re: unexpected error ...while loading the log file

Posted: Tue Aug 02, 2011 11:43 am
by Todor
I had the same Error once. Is it possible that you are using System.IO? If you do so, you should have Code, that uses this library. If not you will get this Error and that was the reason why I had the error.

I hope I have helped you.

Re: unexpected error ...while loading the log file

Posted: Tue Aug 02, 2011 12:14 pm
by Support Team
Hi,

You have a testsuite with zero modules inside, right?
If yes, please try to comment out the following line
error = TestSuiteRunner.Run(typeof(Program), Environment.CommandLine);
because you don't need it if you call your own methdos with following code
REMSmokeTests.ServiceLinksTest.TestServiceLinks(args[0]);
Then please try it again and check if the report is locked after you've executed your assembly.

Regards,
Peter
Ranorex Team

Re: unexpected error ...while loading the log file

Posted: Tue Aug 02, 2011 8:34 pm
by chunkylover53
Huzzah! That worked commenting out that line.
Thanks!