首页 > 技术文章 > shell执行测试用例

gasx 2017-12-06 14:34 原文

  1. 目录结构

     

 

  1. 执行测试套件

        先使用cd 进入到项目的工作目录C:\Users\AJ002\PycharmProjects\gx2\web>robot --pythonpath  . testCase    点表示相对路径

          C:\Users\AJ002\PycharmProjects\gx2\web>robot --pythonpath  . testCase

  1. 执行某个测试套件的某个测试用例

            robot  --test  用例3:用户名为空、密码为空    --pythonpath  . testCase   执行testCase中用例3

 

推荐阅读