Variable | Explanation |
---|---|
${CURDIR} | An absolute path to the directory where the test datafile is located. This variable is case-sensitive. |
${TEMPDIR} | An absolute path to the system temporary directory. In UNIX-likesystems this is typically /tmp, and in Windowsc:\Documents and Settings\<user>\Local Settings\Temp. |
${EXECDIR} | An absolute path to the directory where test execution wasstarted from. New in Robot Framework 2.1. |
${/} | The system directory path separator. / in UNIX-likesystems, \ in Windows. |
${:} | The system path element separator. : in UNIX-likesystems and ; in Windows. |
Variable | Explanation | Available |
---|---|---|
${TEST NAME} | The name of the current test case. | Test case |
@{TEST TAGS} | Contains the tags of the current test case inalphabetical order. | Test case |
${TEST STATUS} | The status of the current test case, either PASS orFAIL. | Test teardown |
${TEST MESSAGE} | The possible error message of the current test case. | Test teardown |
${PREV TEST NAME} | The name of the previous test case, or an empty stringif no tests have been executed yet. | Everywhere |
${PREV TEST STATUS} | The status of the previous test case: either PASS,FAIL or an empty string when no tests have beenexecuted. | Everywhere |
${PREV TEST MESSAGE} | The possible error message of the previous test case. | Everywhere |
${SUITE NAME} | The full name of the current test suite. | Everywhere |
${SUITE SOURCE} | An absolute path to the suite file or directory. Newin Robot Framework 2.5. | Everywhere |
${SUITE STATUS} | The status of the current test case, either PASS orFAIL. | Suite teardown |
${SUITE MESSAGE} | The full message of the current test suite, includingstatistics. | Suite teardown |
${OUTPUT FILE} | An absolute path to the current output file. Hasdifferent values during execution whenoutputs are split. | Everywhere |
${LOG FILE} | An absolute path to the current log file or stringNONE when no log file is created. Has different valuesduring execution when outputs are split. | Everywhere |
${REPORT FILE} | An absolute path to the report file or string NONEwhen no report is created. | Everywhere |
${SUMMARY FILE} | An absolute path to the summary file or string NONEwhen no summary is created. | Everywhere |
${DEBUG FILE} | An absolute path to the debug file or string NONEwhen no debug file is created. | Everywhere |
${OUTPUT DIR} | An absolute path to the output directory. | Everywhere |