shell执行测试用例

  1. 目录结构

     

  1. 执行测试套件

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

          C:UsersAJ002PycharmProjectsgx2web>robot --pythonpath  . testCase

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

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

原文地址:https://www.cnblogs.com/gasx/p/7992545.html