background image
<< Updating Testplan - testdata statement | Updating Testplan - Specifying data that is shared by multiple tests >>
Updating Testplan - Typing data directly into the testplan
<< Updating Testplan - testdata statement | Updating Testplan - Specifying data that is shared by multiple tests >>
User's Guide
225
10 A
DDING
D
ATA
TO
A
T
ESTPLAN
Specifying data that is unique to a single test description
3
Enter the data in the Test Data field, separating each data element with a
comma. For example:
Tip Remember, if the testcase expects a record, you need to enclose
the list of data with the list constructor operator (the curly braces);
otherwise, SilkTest will interpret the data as individual variables, not
a record, and will generate a data type mismatch compiler error.
4
Click OK.
The Testplan Detail dialog closes, and the testdata statement and data
values are entered in the plan.
Typing data directly
into the testplan
Procedure To enter the testdata statement manually:
1
Open up a new line after the test description and indent the line one level.
For example, to manually add the testdata statement for the Character
search test description:
2
Enter the testdata statement, using this syntax:
a
If the testcase expects one or more variables:
testdata: data [,data]