Thanks:  0
Likes:  0
Dislikes:  0

# Thread: Maximum number of steps in a test case

1. ## Maximum number of steps in a test case

I read somewhere that the maximum number of steps in a test case should not exceed 15. Can anyone substantiate it? Is it always possible to write all the test cases with lesser than 15 steps?

2. ## Re: Maximum number of steps in a test case

Hi Arun

There is nothing as such that test case should be within 15 steps!

U should write them as crisp & clear as possible thats it. they can be an no., of lines!

3. ## Re: Maximum number of steps in a test case

Hi Arun,
I agree with Vijay , there can be N no. of lines for the test cases, just that redundancy should not be there.

rgrds,
Shalini.

4. ## Re: Maximum number of steps in a test case

The same topic was discussed in this forum already:
http://www.qaforums.com/cgi-bin/foru...;f=46;t=001257

5. ## Re: Maximum number of steps in a test case

Arun,
True there is no law saying that "There Shall Be No More Than 15 Steps In A Test Case, and The Number Shall Be Fifteen"!

A lot depends on whether the tests will be automated. If so, then 15 is a fair limit. We set 25 as a limit, but even that is flexible. The main issue is that each test only has one objective which it is written to test. Other checkpoints, (one per step), can be verified as the test works toward the essential check point as described in the description of the test case. Some times you have to plot your path through several pages to get to the point where you can test the actual item you are after. You should verify each step and page to insure you are on the right path.

6. ## Re: Maximum number of steps in a test case

I have a rule on the number of steps in a test case and the rule is "Use as many steps as you need to meet the requirements of the test"

Easy one, huh? Actually, no, not easy. It may sound like the test case writer can write what they like, but the key is to write as many as you need, i.e. no more, no less. Getting that bit right is the harder part.

Absolute rules on the number of steps can be too restrictive and if you set the rule to, say, 25, then you can get padding which is not needed if the number of steps needed is ony 10 or you can get too high level steps if the number of steps needed is 100.

7. ## Re: Maximum number of steps in a test case

I have read that its best to keep a test case short and concise (15-20) steps. Reasons are...tests will be easier to maintain and it'll hit specific features of the application.
If it goes beyond 40 steps, it is a sign of bad test case design. With in-depth understanding of the system, you can always split up the TC into smaller ones which test an indiviual and specific functionality.

8. ## Re: Maximum number of steps in a test case

In a perfect world, you'd want to make the test cases as small and precise as possible....There is no sense in having a 20 step test case for a two step process...

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.