This all worked fine, I got the Selenium library installed and was able to run some basic tests. Although I then realized there's a Selenium 2 library which uses web driver which I am more familiar with. So I did the usual "python setup.py install" and it seemed to run ok (no error messages), but when I try to run a test (even the demo that comes with it I get this message:
[ ERROR ] Error in file '/Users/matt.rossner/Downloads/robotframework-selenium2library-1.5.0/demo/login_tests/resource.txt': Importing test library 'Selenium2Library' failed: ImportError: No module named Selenium2Library
Traceback (most recent call last):
None
PYTHONPATH:
/Library/Python/2.7/site-packages/robot/libraries
/Library/Python/2.7/site-packages
/usr/local/bin
/usr/local/lib/wxPython-2.9.5.0/lib/python2.7/site-packages
/usr/local/lib/wxPython-2.9.5.0/lib/python2.7/site-packages/wx-2.9.5-osx_cocoa
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
/usr/local/lib/wxPython-2.9.5.0/lib/python2.7
.
/Users/matt.rossner/Downloads/robotframework-selenium2library-1.5.0
Ok so I looked in the paths listed under PYTHONPATH and it doesn't seem to be there. Actually in this path "/Library/Python/2.7/site-packages" I can see "SeleniumLibrary" is there but not #2.
So I don't know if #2 is actually installed, even though the installer script says it is. Maybe I need to uninstall #1, but not really sure how to do that. Guess I'll Google around on that for now, but if anyone here has a better explanation I would really appreciate that.
Thanks
Matt
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/groups/opt_out.
--
Hi,
Sorry if this is obvious but I'm new to Python and I'm having some issues getting Selenium2Library to work.
Pip list - output will be all installed python ext along with its version