Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1398 by [email protected]: failed ImportError: No module named win32gui on Windows7 running robotframework
http://code.google.com/p/robotframework/issues/detail?id=1398

We arte experiencing Errors when we run Robotframe work on windows7. The Script runs and selenium launches the browser but we do not see our webpage loaded it remains in a blank state. We get this Error on RobotFramework.

c:\Python27\Scripts>jybot.bat c:\Automation\robot_framework\ui_testing\vuln_mgmt
\test_suites\login\invalid_login.txt
[ ERROR ] Error in file 'c:\Automation\robot_framework\ui_testing\common\lib\res ources\standard.txt' in table 'Settings': Importing test library 'c:\Automation\ robot_framework\ui_testing\unity\lib\keywords\python_functions.py' failed: Impor
tError: No module named win32gui
Traceback (most recent call last):
File "c:\Automation\robot_framework\ui_testing\unity\lib\keywords\python_funct
ions.py", line 9, in <module>
    import win32gui
PYTHONPATH:
  C:\Python27\Lib\site-packages\robot\libraries
  C:\Python27\Lib\site-packages
  C:\jython2.5.2\Lib
  __classpath__
  __pyclasspath__/
  C:\jython2.5.2\Lib\site-packages
  .
  c:\Python27\Scripts
CLASSPATH:
  C:\jython2.5.2\jython.jar
[ ERROR ] Error in file 'c:\Automation\robot_framework\ui_testing\common\lib\res ources\standard.txt' in table 'Settings': Importing test library 'c:\Automation\ robot_framework\ui_testing\unity\lib\keywords\python_functions.py' failed: Impor
tError: No module named win32gui
Traceback (most recent call last):
File "c:\Automation\robot_framework\ui_testing\unity\lib\keywords\python_funct
ions.py", line 9, in <module>
    import win32gui
PYTHONPATH:
  C:\Python27\Lib\site-packages\robot\libraries
  C:\Python27\Lib\site-packages
  C:\jython2.5.2\Lib
  __classpath__
  __pyclasspath__/
  C:\jython2.5.2\Lib\site-packages
  .
  c:\Python27\Scripts
CLASSPATH:
  C:\jython2.5.2\jython.jar

For some reason win32Gui cannot be found but it is installed.I made my own python script to call win32Gui and it runs well. It cannot find it when I use Robot.

Attachments:
        screenShot.jpg  382 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to