Hi Kisel,
I have selected "View RIDE Log" in RIDE's menu with content bellow:
20141126 09:45:51.541 [INFO]: Started RIDE 1.3 using python version 2.7.8 with wx version 2.8.12.1 in win32.
20141126 11:45:17.694 [WARN]: Importing test library "AutoItLibrary" failed
Traceback (most recent call last):
Creating an instance of the test library 'AutoItLibrary' with no arguments failed: com_error:
(-2147221164, 'Class not registered', None, None)
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\AutoItLibrary\__init__.py", line 81, in __init__
self._AutoIt = win32com.client.Dispatch(u"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)
File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line 76, in _fetch_keywords
return get_import_result(path, library_args)
File "C:\Python27\lib\site-packages\robotide\spec\libraryfetcher.py", line 20, in get_import_result
lib = TestLibrary(path, args)
File "C:\Python27\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 41, in TestLibrary
lib.create_handlers()
File "C:\Python27\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 125, in create_handlers
self._libinst = self.get_instance()
File "C:\Python27\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 191, in get_instance
self._libinst = self._get_instance()
File "C:\Python27\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 199, in _get_instance
self._raise_creating_instance_failed()
File "C:\Python27\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 254, in _raise_creating_instance_failed
"failed: %s\n%s" % (
self.name, args, msg, details))
I think I have installed correctly by the way: I open cmd, cd to folder "C:\AutoItLibrary-1.1", then I type & enter the command "python setup.py install".
The
installation successful without any error, but when I import "AutoITLibrary" in my test suite, it turn red, you see the warning above.
I have tried some way install:
use pip: pip install robotframework-autoitlibrary
Please help, I don't know how to solve this issue.
Thanks you!