Using robot and rebot scripts
In Robot Framework 3.0 and later versions, tests are executed using robot scripts and the results are obtained by running the rebot script after the test cases have been executed.
The command to run a test case in the Robot Framework is:
Syntax:
robot filename.robot OR robot filename.txt
Robot Framework supports both .robot and .txt file extensions.
Example:
robot test_case_filename.robot OR robot test_case_filename.txt
After passing all the test cases, You will get three files as output by rebot scripts.
- output.xml:- Results in machine-readable XML format.
- log.html:- Detailed test execution log.
- report.html:- Higher level test report.
The directory where the test case file is executed will contain all three files.
In older versions of the Robot Framework, test execution and post-processing outputs were handled by interpreter-specific scripts such as pybot, jybot, and ipybot for test execution and jyrebot and ipyrebot for post-processing outputs. These scripts are only installed with Python and are not available in the Robot Framework itself.



Note: If an image is not clearly visible, try opening it in a new tab in your browser.