DataFile.rst 1.0 KB

12345678910111213141516171819202122
  1. Special functions in datafiles
  2. ==============================
  3. Datafiles (or in Excel Simple format simply a tab "data") generally hold the data for one or more testcases.
  4. The first line of the datafile holds the header line. Each cell in the header must have a unique value and acts as variablename,
  5. which you can use for checking, for IF-Statements or as values to write into fields or compare with assertions.
  6. Additionally there are some reserved names that deliver the following functionality:
  7. .. list-table:: Field names in Datafiles and their function
  8. :widths: 25 75
  9. :header-rows: 1
  10. * - Field name
  11. - Description
  12. * - ``TC Expected Error`` (!sic)
  13. - When set to value ``X``, the Test case is supposed to fail. If it fails (as expected) the status of the testcase is set to OK.
  14. * - ``JSON``
  15. - Please don't use this fieldname, as we're using it internally to store data.
  16. * - ``Timelog``
  17. - Please don't use this fieldname, as we're using it internally to store the timelog during execution of the test case.