美文网首页
robotframework-sshlibrary

robotframework-sshlibrary

作者: heliping_peter | 来源:发表于2018-05-22 18:32 被阅读6次

远程连接,然后获取ip信息

*** Settings ***
Library    SSHLibrary

*** Variable ***
${abc}
*** Test Cases ***
sshlogin
    Open Connection      192.168.123.169   port=22
    Login                root              dangerous
    Write    ifconfig
    ${abc}    Read    delay=1s
    Log    ${abc}        
    

相关文章

网友评论

      本文标题:robotframework-sshlibrary

      本文链接:https://www.haomeiwen.com/subject/haskjftx.html