zoukankan      html  css  js  c++  java
  • 执行测试用例

    在window中运行RF测试脚本:

    在 Windows 中可以使用batch 文件格式来后台运行用例脚本。

    在终端运行Robot Framework 测试脚本:

    pybot.bat -T -o output.xml -l log.html -r report.html -d Z:TempjyangRFReport -v rowToRead:3 --argumentfile c:usersjyangappdatalocal empRIDEnjing7.dargfile.txt --listener c:python27libsite-packages obotidecontrib estrunnerTestRunnerAgent.py:42018:False E:RFProjectTDComparison

    分析:

    pybot.bat  启动robotframework

    -T -o output.xml -l log.html -r report.html
    -d Z:TempjyangRFReport
    -v rowToRead:3
    --argumentfile c:usersjyangappdatalocal empRIDEnjing7.dargfile.txt
    --listener c:python27libsite-packages obotidecontrib estrunnerTestRunnerAgent.py:42018:False
    E:RFProjectTDComparison


    argument files  用来设置参数。

    contents in argument files:

    --pythonpath
    D:RobotTDMyLibrary:D:softwarediff2HtmlCompare-masterdiff2HtmlCompare-master:D:JetBrainsPycharmProjectsRFCustomLibraries
    -C
    off
    -W
    132
    --suite
    Comparison.Navigation
    --test
    Comparison.Navigation.PH Style
  • 相关阅读:
    ansible 批量在远程主机上执行命令
    SQLAlchemy
    operator, itertools
    mongodb基础语法
    django model Meta选项
    __getattr__,settr
    django的contenttype表
    time和datetime和tzinfo
    全局钩子的改名
    dom中文字居中
  • 原文地址:https://www.cnblogs.com/jinggo/p/7645407.html
Copyright © 2011-2022 走看看