Updating the test case document: Data
Data lists test data that is used in the test cases. The data is separated from the Test Cases tab so that data can be easily modified and maintained. Test cases reference this tab for all data purposes. This allows data sets to be easily shared between test cases. You can update a single location to affect all related test cases. This single tab has the benefit of easing the communication with the data creation team to ensure that all test data is available at the start of the FVT phase.
Data is divided into logical groups of data. For instance, user IDs and Passwords have their own section.
Each section contains the following
columns:
- Variable
- Each piece data is given a name in the variable column. A variable is a unique value within the Data tab. Use names that are easy to understand and identify.
- Data value
- Actual data value is put into the Data Value
column and referenced
from the test cases. For one variable, one data value or multiple
data values can be specified depending on the need. If more than one
value is specified, each value is pared with a key. The key is the
name that appears on the user interface. For example,
First name = John
(First name is the key and John is the value). - Test cases used
- Contains the test cases where each data value is used. This allows a tester to quickly identify affected test cases if a data set must change. Update this section manually.
- Comments
- Comments are useful in understanding the purpose of the data and how it is used in the test cases.
Procedure
Update the data as appropriate.
Option | Description |
---|---|
Store sample data is used as the test data |
|
Test data is different from the store sample data |
|
New test data is added |
|
Existing data is used |
|