ANTSLOAD 16 - Script recorder fails to register onQuit()

Brian DonahueBrian Donahue Posts: 6,590 New member
edited September 10, 2004 5:32AM in Knowledge Base
Products affected: ANTS Load 1.5x, 1.6
Document date: 10 Sep 2004

When recording a script in ANTS Load, the browser window may not appear and you may recieve the following message:

System.InvalidCastException: QueryInterface for interface System.Runtime.InteropServices.UCOMIConnectionPoint failed

This is caused by an improperly registered Internet Explorer web browser component that ANTS Load needs to access in order to display the web browser window for script recording. To determine when the script recording has finished, ANTS Load needs to add the onQuit() event to its' code.

To resolve the problem, re-register the web browser component. To do this, open a command prompt and enter the following:

regsvr32 shdocvw.dll

This will re-register the web browser control so that the onQuit() event can be used by ANTS Load.
Sign In or Register to comment.