[SSHLibrary] How to add SSHLibrary via RIDE?

972 views
Skip to first unread message

Avihay Eyal

unread,
Jul 17, 2013, 7:36:35 AM7/17/13
to robotframe...@googlegroups.com
Hi, I' sure it's trivial, but I didn't find any good example. I've installed SSHLibrary as a source distribution, and installed it.

From what I read, RIDE should auto-identify it, but it didn't. I tried to import it via Settings->Library, but it also didn't help...


So what am I missing? What's the way to add a library?


Thanks a lot

Avihay Eyal

unread,
Jul 18, 2013, 8:31:39 AM7/18/13
to robotframe...@googlegroups.com
Well, found it - I just used the keywork 'Import Library'.

The RIDE auto completion doesn't work yet, but I'll get it...

Tatu Aalto

unread,
Jul 18, 2013, 9:36:38 AM7/18/13
to aviha...@gmail.com, robotframe...@googlegroups.com
Ugh

Have you read the Ride [1] and Robot Framework [2] documentation how to import libraries. If you do it like it is documented, you will get the keyword completion to work in Ride.

-Tatu
[1] https://github.com/robotframework/RIDE/wiki/Keyword-Completion#wiki-having-libraries-and-resources-available
[2] http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.8.1#taking-test-libraries-into-use
--
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.
 
 

Avihay Eyal

unread,
Jul 18, 2013, 9:54:46 AM7/18/13
to robotframe...@googlegroups.com, aviha...@gmail.com
Thanks for the help, I read this docs previously, but it didn't help.

I've changed the settings.cfg 'pythonpath' to ['c:/Python27/lib/site-packages', 'c:/Python27/lib/site-packages/SSHLibrray']

and 'auto imports' to ['SSHLibrary'], but it didn't make a difference.

BTW, I have PYTHONPATH defined in my environment variables, and I added the mentioned above paths to
there as well, with no success.

I removed from the test case the 'import library' step, since it should be auto imported, but then I receveid an error
saying that  'No Keyword with name 'Open Connection' found', which means that the SSHLibrary is not auto imported....


What am I doing wrong?




On Thursday, July 18, 2013 4:36:38 PM UTC+3, Tatu Aalto wrote:
Ugh

Have you read the Ride [1] and Robot Framework [2] documentation how to import libraries. If you do it like it is documented, you will get the keyword completion to work in Ride.

-Tatu
[1] https://github.com/robotframework/RIDE/wiki/Keyword-Completion#wiki-having-libraries-and-resources-available
[2] http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.8.1#taking-test-libraries-into-use


On 18.7.2013 15:31, Avihay Eyal wrote:
Well, found it - I just used the keywork 'Import Library'.

The RIDE auto completion doesn't work yet, but I'll get it...

On Wednesday, July 17, 2013 2:36:35 PM UTC+3, Avihay Eyal wrote:
Hi, I' sure it's trivial, but I didn't find any good example. I've installed SSHLibrary as a source distribution, and installed it.

From what I read, RIDE should auto-identify it, but it didn't. I tried to import it via Settings->Library, but it also didn't help...


So what am I missing? What's the way to add a library?


Thanks a lot
--
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-users+unsub...@googlegroups.com.

Tatu Aalto

unread,
Jul 18, 2013, 10:27:15 AM7/18/13
to aviha...@gmail.com, robotframe...@googlegroups.com
Ugh

I have not used auto import, so can not comment on that.

But I always take libraries use like seen in the attachment. Just press the Library-button in Ride, when you have selected the test suite level. After adding the libraries, the test suite file should look like this:
*** Settings ***
Library           Collections
Library           String
Library           Selenium2Library

-Tatu
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
ride.png

Avihay Eyal

unread,
Jul 18, 2013, 11:36:20 AM7/18/13
to robotframe...@googlegroups.com, aviha...@gmail.com
Thanks a lot, it worked.

Somehow I missed it and tried much more complicated things.


Have a great weekend.
Reply all
Reply to author
Forward
0 new messages