I have a test.robot file with test cases.
How can I get a list of these test cases without activating the tests from the command line or python?
You can check the testdoc tool . As explained in the document, "the generated documentation is in HTML format and includes the name, documentation, and other metadata of each test suite and test case."
Robot sets are easily analyzed using a robot analyzer:
from robot.parsing.model import TestData suite = TestData(parent=None, source=path_to_test_suite) for testcase in suite.testcase_table: print(testcase.name)