background image
<< Updating Testplan - Linking a testplan to a data-driven testcase | Updating Testplan - testdata statement >>
Updating Testplan - Specifying data that is unique to a single test description
<< Updating Testplan - Linking a testplan to a data-driven testcase | Updating Testplan - testdata statement >>
User's Guide
223
10 A
DDING
D
ATA
TO
A
T
ESTPLAN
Specifying data that is unique to a single test description
The following testplan is associated with the FindTest testcase (the testcase
statement is highlighted for emphasis). The statement occurs at the Find
dialog group description level, so that each of the eight test descriptions in the
group can call the testcase, passing it a unique set of data:
This figure shows the testdata statement, which is used to specify the data
that a test description passes to a data-driven testcase. The testdata statement
is described in detail in the next section.
Specifying data that is unique to a single test description
Two ways to add a
testdata statement
If a data value is unique to a single test description, it should be placed in the
plan at the same level as the test description, using the testdata statement.
There are two ways to add the testdata statement:
Use the Testplan Detail dialog to automate the procedure.
Type the statement directly into the plan.
Entering data in the
Testplan Detail dialog
Procedure To use the Testplan Detail dialog to enter the testdata statement:
1
Place the insertion point at the end of the test description.
For example, the following figure shows how to place the insertion
cursor to add the testdata statement for the Character search test
description: