Ranorex Web Bug on Windows 2000 SP4 Rollup1

Bug reports.
latecode
Posts: 1
Joined: Sun Jul 06, 2008 7:41 am

Ranorex Web Bug on Windows 2000 SP4 Rollup1

Post by latecode » Sun Jul 06, 2008 7:50 am

I tested Ranorex 1.4 trial.
The following code compiles well & runs well on Windows XP SP3.
This code compiles well on Windows 2000 SP4 Rollup1, but always returns a run time exception.

// Starting Internet Explorer
Ranorex.Web.WebDocument myWebDocument =
Ranorex.Web.WebDocument.OpenDocument(startPage, true);

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

Post by Support Team » Mon Jul 07, 2008 2:55 pm

This seems to be a bug of the .NET Framework for Windows 2000; starting the Internet Explorer (IE) using the System.Diagnostics.Process.Start() method always fails, that's why WebDocument.OpenDocument() also fails.

This is a known issue in V1.4 and V1.5, but we have now found a workaround that will be included in the V1.5.1 release. With other versions, please use the Windows Start menu to start a new IE and the WebDocument.GetDocument() method to get the WebDocument from this IE.

Regards,
Alex
Ranorex Support Team