解决问题:Initializing test library 'AutoItLibrary' with no arguments failed: com_error: (-2147221164, '\

来源:互联网 发布:网红美妆淘宝店前十名 编辑:程序博客网 时间:2024/05/29 07:53

RobotFramework 安装AutoItLibrary时,总会有很多坑。这是其中一个。


问题:Initializing test library 'AutoItLibrary' with no arguments failed: com_error: (-2147221164, '\xc3\xbb\xd3\xd0\xd7\xa2\xb2\xe1\xc0\xe0', None, None)
定位:

前提:python以及各种软件,都是64位。
解决办法:
在cmd(管理员权限)中:
regsvr32 AutoItX3.dll
比如我的电脑是64位,全路径为
C:\Program Files (x86)\AutoIt3\AutoItX\AutoItX3_x64.dll
cd C:\Program Files (x86)\AutoIt3\AutoItX\
regsvr32 AutoItX3_x64.dll
结束。


0 0