Our new QA section
explains how to make
your Website work the
way you need it to!
Fonts.com
 

2008


Home Page
Feature Archive
A&I Column Archive
Production Tools
State Marketing Data
US Marketing Data
World Marketing
Classifieds
Service Directory
Quality Assurance
3D Printing

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.

Multi-element Test Cases

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.

Multi-step Test Cases

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:

  1. Log in to the registration page.

  2. Fill in a first and last name.

  3. Click the Submit button.

  4. Go to the registration list.

  5. 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



QA and the Software Development Lifecycle

CMMI Levels

Writing Repeatable Test Cases

Writing Thorough Test Cases

Writing Product Requirement Documents

Basing Test Cases on Requirements Documents

Test Case Formats

Multipart Test Cases



Constant Contact -- FREE Email Marketing

null