
|
|
|
Subscribe to Advertising & Marketing Review! Contact Ken Custer at 303-277-9840.
|
|
|
|

|
|
Multi-part Test Cases
By G.E. Morris
So far, the test case examples presented have covered only one element in each test case.
Complex Websites frequently result in complex test cases, with single test cases covering several elements to be verified. In the case of multipart test cases it is important that the format of the test cases make it easy to read and record results.
There are two kinds of multi-part test cases; ones with multiple elements to verify, and ones with a specific set of sequential sets.
When to use multi-part test cases.
There are several reasons to use multi-part test cases. As we've demonstrated, even a two field registration page can take several pages to test properly. On a large Website, the test case document can run hundreds of pages long. Using multi-part test cases, where appropriate, can substantially reduce the total number of pages required.
Another good reason for using multi-part test cases is that certain types of tests cases, like use cases, require several steps to be executed sequentially, and listing them in one test case is the logical and most efficient way to format them.
Test cases that test the appearance of a page are frequently combined into one test case.
|
Case Number
|
Action
|
Pass/Fail
|
1.1
|
The page has the following elements: A header at the top of the page, a navigation menu on the left side, a content section under the header, and a footer at the bottom of the page.
|
|
|
|
|
|
|
Table 1
|
|
Here's the same test case with the elements presented as an unordered list.
|
|
Case Number
|
Action
|
Pass/Fail
|
1.1
|
The page has the following elements:
A header at the top of the page
a navigation menu on the left side
a content section under the header
and a footer at the bottom of the page.
|
|
|
|
|
|
|
Table 2
Notice that Table 2 makes it much easier for a tester to record the failure of one or more particular elements of the test.
Another form of multi-step test cases is the multi-step case, which combines a sequence of steps into one test case. This format is especially appropriate for test cases that test a particular function of an application that combine several steps the user must execute.
|
|
|
Case Number
|
Action
|
Pass/Fail
|
1.1
|
Log in to the registration page, fill in a first and last name, click the Submit button, go to the registration list page, verify the name you entered is present in the list.
|
|
|
|
|
|
|
Table 3
|
|
Here's the same test case with the elements presented as an ordered list.
|
|
Case Number
|
Action
|
Pass/Fail
|
1.1
|
Add a name to the registration list:
Log in to the registration page.
Fill in a first and last name.
Click the Submit button.
Go to the registration list.
Verify the name you entered is present in the list.
|
|
|
|
|
|
|
Table 4
For more advertising and marketing help, news, resources and information visit our Home Page.
Back to top
|
|


|