unexpected error ...while loading the log file

Ask general questions here.
chunkylover53
Posts: 23
Joined: Wed Oct 06, 2010 8:21 pm

unexpected error ...while loading the log file

Post by chunkylover53 » Fri Jul 29, 2011 9:29 pm

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
Attachments
error.JPG
error.JPG (154.81 KiB) Viewed 690 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

Post by Support Team » Mon Aug 01, 2011 3:21 pm

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
.
Image

chunkylover53
Posts: 23
Joined: Wed Oct 06, 2010 8:21 pm

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

Post by chunkylover53 » Mon Aug 01, 2011 5:26 pm

Yes I added exception in IE and I can open the report file.
The project is attached.
RemSmokeTests.zip
(848.53 KiB) Downloaded 136 times

Todor
Posts: 66
Joined: Mon Jul 25, 2011 11:28 am

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

Post by Todor » Tue Aug 02, 2011 11:43 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

Post by Support Team » Tue Aug 02, 2011 12:14 pm

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
.
Image

chunkylover53
Posts: 23
Joined: Wed Oct 06, 2010 8:21 pm

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

Post by chunkylover53 » Tue Aug 02, 2011 8:34 pm

Huzzah! That worked commenting out that line.
Thanks!