Entering the testdata Statement Manually

  1. Open up a new line after the test description and indent the line one level.
  2. Enter the testdata statement as follows.
    • If the test case expects one or more variables, use this syntax: testdata: data [,data], where data is any valid 4Test expression.
    • A record, use the same syntax as above, but open and close the list of record fields with curly braces: testdata: {data [,data]}, where data is any valid 4Test expression.

    Be sure to follow the testdata keyword with a colon. If you enter the keyword correctly, the statement displays in dark red, the default color. Otherwise, the statement displays in either blue or black, indicating the compiler is interpreting the line as a description.