问题:
[ ERROR ] Error in file 'E:\test\test_AutoItLibrary.txt': Initializing test library 'AutoItLibrary' with no arguments failed: com_error: (-2147221164, '\xc3\xbb\xd3\xd0\xd7\xa2\xb2\xe1\xc0\xe0', None, None)
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\AutoItLibrary\__init__.py", line 79, in __init__
    self._AutoIt = win32com.client.Dispatch("AutoItX3.Control")
  File "C:\Python27\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
  File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
原因:AutoItLibrary不支持64bit(我已经替换相应的dll)
 
问题:
com_error: (-2147352561, '\xb7\xc7\xd1\xa1\xd4\xf1\xd0\xd4\xb5\xc4\xb2\xce\xca\xfd\xa1\xa3', None, None)
com_error: (-2147352561, 非选择性参数, None, None)
原因:缺少参数
解决:
原本错误的:
AutoItLibrary-LMLPHP
改正后的:
AutoItLibrary-LMLPHP
05-02 16:52