Robot Framework Execute
ó°ƒ 2024-10-02
Execute Test Case
Execute
$: robot test.robot # run single specific test suite.
$: robot test.robot:001 # run single specific test case.
$: robot test.robot:001,002 # run multiple specific test case.
$: robot test.robot:001-003 # run range of test case.
$: robot test.robot:001-003,005 # run range of test case and specific test case.
$: robot test1.robot test2.robot # run multiple test suite.
$: robot *_regression.robot # run all test suite that match the pattern.
$: robot . # run all test suite in the current directory.
Option
$: robot -t <TestCaseName> test.robot # run specific test case.
$: robot -i <TagName> test.robot # run test case that have specific tag.
$: robot -e <TagName> test.robot # exclude test case that have specific tag.
$: robot -d <directory> test.robot # run test case in specific directory.
$: robot -v <variable> test.robot # run test case with specific variable.
Option for Log Output
$: robot -d ./Log . # create log file in specific directory.