How to run specific test cases from a test suite using Robot Framework

后端 未结 3 1605
耶瑟儿~
耶瑟儿~ 2021-02-03 22:45

I am new to Robot and am learning to write logic and test cases.

I have a test suite, "mytestsuite.robot", which has a lot of test cases. I have a couple of err

3条回答
  •  隐瞒了意图╮
    2021-02-03 23:29

    If you want to run single test case in Robot Framework, use the below example.

    Syntax: robot -t "Test Case Name" Test Suite Name
    Example: robot - t "PON Type Test Case" Aquarium_Project.robot

    If you want to run all the test cases in Robot Framework, use the below example

    Syntax: robot Test Suite Name
    Example: robot Aquarium_Project.robot

提交回复
热议问题