Ed Manlove
unread,Apr 30, 2013, 7:18:23 AM4/30/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ranjana...@gmail.com, sova....@gmail.com, Bart Vanherck, robotframe...@googlegroups.com
Reading through the output below your error is ...
Ranjana NAwkhare wrote:
> Hello,
> I just trying this once again..
> C:\Python27>pybot C:\mydata\RFramework\Demo\myFirstTest.txt
> [ ERROR ] Error in file 'C:\mydata\RFramework\Demo\common.txt' in
> table 'Setting
*** Here ***
> s': Importing test library 'SeleniumLibrary' failed: ImportError: No
> module name
> d SeleniumLibrary
*** Here ***
> Traceback (most recent call last):
> None
> PYTHONPATH:
> C:\Python27\lib\site-packages\robot\libraries
> C:\Python27\lib\site-packages
> C:\WINDOWS\system32\python27.zip
> C:\Python27\DLLs
> C:\Python27\lib
> C:\Python27\lib\plat-win
> C:\Python27\lib\lib-tk
> C:\Python27
> .
Python can't find the Selenium Library module. Not sure of your method
for installation but I would recommend using pip,
c:\pip install robotframework-seleniumlibrary
and there is additional installation instructions on the google code
site [1]. Also if you are writing new tests and not already using the
SeleniumLibrary on older tests it might be recommended to use the newer
Selenium2Library [2] and the older Selenium Library is no longer being
maintained.
Ed
[1]
http://code.google.com/p/robotframework-seleniumlibrary/wiki/InstallationInstructions
[2]
https://github.com/rtomac/robotframework-selenium2library