
robotframework-autoitlibrary - issue #1
AutoItLibrary will not launch in Windows 7 Ult x32
Installed ActivePython, Robot Framework and AutoItLibrary on a virtual machine with Windows 7 Ult x32. (See related bug on PIL installation problem). Tried to run the Calculator tests and got this:
Error in file 'C:\RobotFramework\Extensions\AutoItLibrary\tests\Calculator_Test_Cases.html' in table 'Setting' in element on row 5: Creating an instance of the test library 'AutoItLibrary' with arguments 'C:\RobotFramework\Extensions\AutoItLibrary\tests\results', '10' and 'True' failed: com_error: (-2147221005, 'Invalid class string', None, None) Traceback (most recent call last): File "C:\Python25\Lib\site-packages\robot\running\testlibraries.py", line 150, in _get_instance return self._libcode(*self.args) File "C:\Python25\Lib\site-packages\AutoItLibrary__init__.py", line 76, in init self._AutoIt = win32com.client.Dispatch("AutoItX3.Control") File "C:\Python25\Lib\site-packages\win32com\client__init__.py", line 95, in Dispatch dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx) File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 98, in _GetGoodDispatchAndUserName return (_GetGoodDispatch(IDispatch, clsctx), userName) File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 78, in _GetGoodDispatch IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
My guess is that the win32com library is missing something that allows it to work correctly in Windows 7.
Comment #1
Posted on Nov 13, 2009 by Swift PandaThe Python installed was ActivePython 2.5.1.1. Perhaps an upgrade to 2.6 might fix this?
Comment #2
Posted on Apr 23, 2010 by Swift PandaAutoItLibrary version 1.1, and the Calculator tests that it includes, now work on Windows Vista Ultimate and Windows 7.
Comment #3
Posted on Apr 23, 2010 by Swift Panda(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium
Milestone-Release1.1