The Wayback Machine - https://web.archive.org/all/20060522165741/http://www.projectperfect.com.au:80/info_test_plan.php
   


PROJECT PERFECT
                 Project Management Information
                         Information and White Papers for Project Managers

Menu
RSS News Feed Latest News
Our Home Page
Home
Project Administrator main page
Project Administrator Software
   >Download 30 day trial
   >General Info
   >Cost Justification
   >FAQ for PA Buyers
   >Pricing
   >Buy Now
Method H Software Home Page
Method H ™ Software
   >General Info
   >Pricing
   >Buy Now
White Papers & Links
White Papers, Links & Free Stuff
   >White Paper Index
Consulting & Training Services
Consulting & Training
   >Consulting
   >PM Assessment
Project Management Blog
Make contact with us
Contact us
Search the site
Search
Contents of the site
Contents
Spread the word
Tell your friends about this page
Advise when we publish a white paper
Join the White Paper mailing list
 
 
For Students, or Parents helping their kids with a project, see our student section with pragmatic help for planning school projects and assignments
Home - White Paper Index

Developing a Test Plan

Rating

Neville Turbit - Project Perfect

 

Overview

In a previous document we covered the development of a test strategy. This white paper covers the development of a test plan. It provides a checklist of testing situations and guidelines on how to create a test plan.

Test Resource Utilisation

Before we start, it is useful to think about the sorts of skills you need to do each part of the testing. In other words how do you structure testing resources to best utilise their time?

Project Administrator

An inexpensive, easy to install tool to
manage project risks, issues,
actions, scope, budgets
and more

Click for more details Project Management Software

It takes considerable business knowledge to understand the situations that need to be tested. For example, in a transaction based system, you need to have an in depth understanding of the business rules for the area in order to know how the system should respond.

To actually carry out the testing requires a lesser skill. If a person has the input, and expected output, the keying does not require a highly skilled person. As long as the results follow the script, the work can be carried out by mid level staff in terms of business knowledge. In fact, it is often the least experienced staff that will identify problems in testing because they start with less assumed knowledge.

Test Scenarios and Test Scripts

The first step in developing a test plan is to develop test scenarios. A test scenario is something like”

“When we enter a new client, there should be a warning if the person is already registered.”

The scenario does not include the test scripts which would look like this.

The script above is not very detailed however we will cover what a script looks like later in the document. The purpose is to show the difference between a test scenario and a test script. The script contains the actual information to be entered while the scenario describes a situation to be tested.

Creating Test Scenarios

It is your most skilled resources that should be creating the test scenarios. They best know what the system should do to assist them. The first point of call for developing the scenarios is the business requirements. They should identify the functionality to be tested.

There will however be other things to test. Typically these include things like screen layout, validity of information displayed, speed, correct data capture etc. Below is a list of things to consider in testing. Some of these will apply to user acceptance testing and some will apply to other types of testing

Report and Enquiry Functions

Input Screen Tests

Update Function Tests

Security

Input Screen Tests

User Documentation

Hardware, Network, Printers

Integration Test Examples

Performance or Stress Testing

Example Test Scenario

The following is an example of a test scenario. Note that there is no specific data identified for testing. It is purely the “situation” that should be tested.

Data Input, Modification and Deletion

The following inputs, modifications and deletions will be tested.

Screen 1

No.

Field

Type

Input

Result

Notes

D.1.1

Name

Alphanumeric

Current Client

Error Message

 

D.1.2

 

 

New Client & try to save

Prompt for address

Address is mandatory

D.1.3

 

 

New Client with name exceeding 50 chars

Error Message

Max size is 50 chars

D.2.1

Address

Alphanumeric

Enter a new client and give an address the same as an existing client

Warning message

 

D.2.2

Etc.

 

 

 

 

Example Test Scripts

Having developed the scenarios, particular test cases can be specified using the test scripts. These sheets can be used to check off the testing as it is completed. They can be prepared by either the people who prepared the scenarios or by lesser skilled staff who might not have the depth of knowledge to develop all the scenarios but can find examples to test.

They should be reviewed by the people who developed the scenarios for completeness. It may be appropriate to prepare this as a spreadsheet so that data can be sorted more effectively.

Test Scripts

 

 

Field

Scenario

No.

Input

Expected Result

Tested By

Date

Notes

Completed Successfully

Client Name

Enter an incorrect client number

D.2.7

X1234

Error Message “This client does not exist”

 

 

 

 

 

Enter a client from another Branch

D.3.8

Enter into NSW branch client VIC123

Error Message “This client is from another branch. Make client a NSW Client (Y/N)

 

 

 

 

 

 

D.3.9

Client is made a local client

Order can be processed and client appears on local client screen.

 

 

 

 

 

 

D.3.10

Client is not made a local client

Order cannot proceed.

Error Message “Order cannot be processed against another branch client”

 

 

 

 

Random Testing

Allow time for people to play with the system. They will find more creative ways to break it than you will ever think of. The following is a real example.

In an insurance system I had implemented, annual statements for investment accounts were calculated by adding 12 months interest to the closing balance from the prior year. The closing balance was stored on the system. Any payments during the year were treated as follows. Work out the number of days since the payment and add interest at a daily rate.

One new account had a balance of around $1,000 and interest of $75,000. Fortunately we picked it up before the invoice was mailed. But how could that happen? The logic for the calculation was straight forward.

Investigation turned up the reason. The year was 1999 but the person entering the payment miss-keyed. They put in 1899. The system did not have a prior balance so it identified the policy as a new policy. It then calculated 100 years of interest!

There were two lessons we learned. Firstly the input screen should have a validation for the year when it is input, and secondly we needed to run exception reports to pick up obviously wrong interest amounts. We would never have thought to test such a situation but a “rogue” user who was trying to break the system may have found it.

Summary

Project Management SoftwareIt is critical to successful testing that a test strategy is put in place before the test plan. Without a strategy, the test plan will most likely fail due to lack of supporting infrastructure.

The critical thing with a test plan is to take a top down approach. Identify the areas requiring testing (test scenarios) then flesh out the details with the test scripts. Use only the level of resource skills that are required. There is no point in having a highly skilled resource entering data all day.

Finally, accept that you will not think of everything. Let your most feral users onto the system and watch what they turn up.

Read Part One of this White Paper - Developing a Test Strategy

To date, 28 people have rated this article. The average rating is 3.82 - Add your rating. Just select a rating and click the button. No other information required.

Only one rating per person is allowed.

 

Test Plan
1 2 3 4 5

Return to the top