RobotFramework远程库的使用

简介

官方文档

使用

  1. 在远程服务器上安装robotremoteserver
    pip install robotremoteserver
  2. 编写远程服务脚本:remote.py
    1
    2
    3
    from robotremoteserver import RobotRemoteServer
    from EhomepayLibrary import EhomepayLibrary
    RobotRemoteServer(EhomepayLibrary(), host='10.35.14.47')

更多高级使用方法

  1. 启动服务脚本
    python remote.py
  2. 在本地case中引用远程库
    1
    2
    3
    4
    5
    6
    7
    *** Settings ***
    Force Tags demo
    Library Collections
    Library DatabaseLibrary
    Remote http://10.35.14.47:8270
    *** Test Cases ***
    ...
欢迎打赏!