How can i run robot test cases without ride using test suite

12,079

When you install robot, you also installed a program called robot (or pybot in older versions), which is the official robot test runner.

If you have a test suite named "my_tests.robot", you can open up a command prompt (bash on *nix, powershell or command.exe on windows) and type the following command (assuming that robot is in your PATH environment variable, which it probably is):

$ robot my_tests.robot

If you have a collection of suites in a folder, you can give pybot the name of the folder rather than the name of a test file.

To see a list of all robot command line options, use the --help option:

$ robot --help

For more information see Starting test execution in the robot framework users guide.

Share:
12,079
Admin
Author by

Admin

Updated on August 07, 2022

Comments

  • Admin
    Admin over 1 year

    I am new to robot framework and wanted to see if i can run test cases without RIDE. I want to create test suite and run test cases sequentially without using RIDE. I went through documentation but could not understand it.

    Ex: Test Suite

    Test Case 1 Test Case 2 Test Case 3

    i would like to put my references to all my resource files to test suite and run all test cases. I can do this using RIDE but wanted to know if i can do this without using it. Do i need to create batch file to do this or any other method to run? Any example will help me. Thank you for advance.

  • Russell Smith
    Russell Smith about 6 years
    @JeevanChaitanya: pybot was the name of the test runner script prior to robot version 3. It is now called robot. They both perform the same function.
  • Jeevan Chaitanya
    Jeevan Chaitanya about 6 years
    Thank you for the replay. Understood.