Adding Data to a Testplan
User's Guide
221
10
C
h
a
p
t
e
r
1
0
Adding Data to a Testplan
Overview
One way to eliminate redundancy in a testplan is to generalize a testcase so
that it can receive many combinations of data from the testplan. This kind of
testcase, as described in Chapter 8, "Generalizing a Testcase", is called a
data-driven testcase.
·
You add the testcase statement at the group description level.
·
You place the test data directly in the testplan.
Benefits
The benefits are twofold:
·
By recording a single testcase for a group, you make your scripts easier
to maintain.
·
By placing data at different levels in the plan, you create a matrix of data
combinations that makes it easy to assess coverage.
What you will learn
This chapter contains the following sections:
Topic
Page