Hello all
When trying to run the provided Web Testing Automation Sample the exception mentioned occurs. The content of the message is as folows:
Exception System.Runtime.InteropServices.COMException was thrown in debuggee:
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
UpdateWindowFromHandle()
.ctor()
GetDocument()
OpenDocument()
OpenApplicationUnderTest() - c:\My Documents\RanorexStudio Projects\Samples\Web Testing Automation Sample(6)\Program.cs:55,4
Main() - c:\My Documents\RanorexStudio Projects\Samples\Web Testing Automation Sample(6)\Program.cs:28,17
What exactly is to do here to fix the problem ?
Thanks for any helping hint.
Fredy
Ranorex Studio 1.5.0.3287: Class not registered exception
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
We could reproduce this exception on Windows XP and Internet Explorer 6.0 with Ranorex V1.5.0.3184 and higher. IE 7.0 seems to be working fine, so does IE 6.0 on Windows 2000. We are currently working on this problem and will inform you as soon as we have a solution for it.
As a workaround you can use the Application.StartWindowsApplication and WebDocument.GetDocument methods to start a new IE instance and get the WebDocument from it:
Regards,
Alex
Ranorex Support Team
As a workaround you can use the Application.StartWindowsApplication and WebDocument.GetDocument methods to start a new IE instance and get the WebDocument from it:
Code: Select all
Form ieForm = Application.StartWindowsApplication("iexplore.exe", "http://yourUrl.com");
WebDocument doc = WebDocument.GetDocument(ieForm);
Alex
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
We have found a solution for this bug. The bug fix is included in the Ranorex V1.5.1 release that can be downloaded from our homepage:
http://www.ranorex.com/download.html
Regards,
Alex
Ranorex Support Team
http://www.ranorex.com/download.html
Regards,
Alex
Ranorex Support Team