Home > Articles > Software Development & Management

Four Classic Problems with Scripted Testing

Michael Kelly
  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Software Testing, 2nd Edition

Like this article? We recommend
Software Testing, 2nd Edition

Mike Kelly examines a recent testing experience that should have worked: plenty of scripted test cases, plenty of time developing and testing the scripts. So what went wrong? Plenty.

On a recent project, we were instructed by the test manager to create hundreds of scripted test cases. Our intention was to execute these tests on the first good build we received from the development staff. We spent months developing the test scripts and planning for their execution. We created the test cases, entered them in our test management tool, traced them to requirements, and reviewed them with the business and other testers.

In spite of months of planning and hard work, I noticed some problems on our first day of test execution.

Problem 1: Almost None of the Test Scripts Were Correct

The expected results didn’t match the actual requirements once the day of testing came around. Given the number of test cases and the number of changing requirements, it was impossible to keep them up to date. I won’t say all that time was wasted, because it did get us looking at the requirements, and it did give us something close to resembling an expected result. But it didn’t do what it was intended to do: It didn’t accurately capture the steps needed to execute a test, or serve as an effective oracle for expected results. That is, it didn’t reduce the need for brain-engaged testing.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Emily NaveCommunity Tips: Starting a User Group Library
By Emily Nave on August 3, 20102 Comments

The Central Penn Adobe User Group (CPAUG) uses a library program to share books from different publishers with members. A short Q&A with group leader Megan Fister provides some great tips for starting your own.

Keep going with GWT
By Federico Kereki on August 1, 2010 No Comments

I've been using GWT for some years now, and I'm still contented with the easier way for web development. After having written a book on GWT development, doing a blog seemed a good idea for answering questions, and for further expanding topics that didn't get a place in the book.

Emily NaveUser Group Organizations: Finding Support in the Greater IT Community
By Emily Nave on July 29, 20102 Comments

Birds of a feather flock together, right? If you’re already a member of an established user group or looking for other like-minded technology evangelists, connecting with peers is an important part of being an active voice in the IT community.

See All Related Blogs

Informit Network