Forum Discussion

Catcher's avatar
15 years ago

Class doesn't support Automation

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 11" name="Generator" />
<meta content="Microsoft Word 11" name="Originator" />



Hi,



I have two TC6 installations,
one of them works fine, but the second one always show the same error –


 


Class
doesn't support Automation


 


Here
is the code sample –


 


IEW = Sys.Process(ie).Window(WND_CLASS,
"*", 1);


IEW.Activate();


W = IEW.Window("Shell DocObject
View", "", 1).Window("Internet Explorer_Server", "", 1);


P = W.Page("*");


P.document.Script.__doPostBack('magazineClassNodeEdit$ddlLanguage','');


 


So, I
can’t start any Java Script on the IE page.


 


Additional
Info –


TC Version – 6.50.387.7


IE Version – 6


OS – Win XP SP3


 


Dmitry.

1 Reply

  • Hi Dmitry,


    Please update to the latest version of TestComplete 6 (v. 6.53) and check whether the problem persists. If it does, I would appreciate it a lot if you provided me with a link to the web page with which the problem can be reproduced.