--
You received this message because you are subscribed to the Google
Groups "robotframework-users" group.
To post to this group, send email to
robotframe...@googlegroups.com.
To unsubscribe from this group, send email to
robotframework-u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/robotframework-users?hl=en.
Hi,
I have to launch some script shell on remote server too. I
initialize the connection with the keyword "open connection" and
"login". Then, I launch the script with the keyword "write". This
keyword wirte the command and append a new line on the current
channel. Then I use the keyword, "Read Until Prompt", in order to
read the output of the command and return it in a variable.
If your script take long time, I advise you to set the timeout
before write your command.
The sshlibrary is very simple to use, just have a look on the
paramiko documentation for understand all the tricks :
http://www.lag.net/paramiko/docs/paramiko.SSHClient-class.html
Best regards,
Mat.