Robot Framework自动化测试SSHLibrary简单示例使用
安装:
pip install --upgrade robotframework-sshlibrary
参考:
http://robotframework.org/SSHLibrary/SSHLibrary.html#Importing
*** Settings *** Library SSHLibrary *** Test Cases *** SSHLogin SSHLibrary.Open Connection 10.1.1.1 SSHLibrary.Login root 12345678 ${output} SSHLibrary.Execute Command pwd Log ${output} SSHLibrary.Close Connection