Telnet是内置库,可以直接导入使用,不需要单独安装。

*** Settings ***
Library           Telnet

*** Test Cases ***
Telnetlogin
    Telnet.Open Connection    10.1.1.1    prompt_is_regexp=yes    prompt=#
    Telnet.Login    root    12345678
    ${output}    Execute Command    pwd
    Log    ${output}
    Close Connection

Robot Framework自动化测试Telnet简单示例使用

相关文章:

  • 2021-07-29
  • 2021-08-01
  • 2022-01-17
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-25
  • 2021-09-22
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
相关资源
相似解决方案