【发布时间】:2016-09-14 03:46:02
【问题描述】:
通过 Visual Studio (Selenium-C#) 运行我的脚本时,我用于打开对话框的 AutoIt 脚本运行良好,但是从 Nunit(.Net) 客户端运行相同的脚本时,相同的测试失败,出现以下错误:
ReportAppeal.MainTestRunner.OpenFile("Email"):
System.Runtime.InteropServices.COMException : Retrieving the COM class factory for component with CLSID {1A671297-FA74-4422-80FA-6C5D8CE4DE04} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
我做错了什么?
【问题讨论】: