robotframework-sshlibrary

2018-05-22  本文已影响6人  heliping_peter

远程连接,然后获取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}        
    
上一篇下一篇

猜你喜欢

热点阅读