Page 1 of 1

Ranorex Web Bug on Windows 2000 SP4 Rollup1

Posted: Sun Jul 06, 2008 7:50 am
by latecode
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);

Posted: Mon Jul 07, 2008 2:55 pm
by Support Team
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