1

私はWatiNでWebテストを行っています。次のエラーが発生しました:

Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 800706bf The remote procedure call failed and did not execute. (Exception from HRESULT: 0x800706BF).   
at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, IDialogHandler logonDialogHandler, Boolean createInNewProcess)
at WatiN.Core.IE..ctor(String url)

私のコードは:

IE ie = new IE(URL);
Login login = new Login(ie);
login.LoginOneHR(userID, password));
CommonSetup01();
CommonSetup02();

ie.ForceClose();
IE ie_C = new IE(URL);

最後の行でエラーが発生しました。

原因や直し方わかる方いましたら教えてください

4

1 に答える 1

1

私は同じ問題を抱えていましたが、2 秒の Thread.sleep で解決しました。

于 2012-12-11T16:45:08.040 に答える