Contact Us

Log in

Join Us

Testers Community

Link to Us

Advertise with Us


See Also

Release Package. More...

Test Matrices Sample. More...

Test Plan Sample. More...

Test Case Design. More...

Weekly Status Report

Stocking and Managing a Test Lab. More...

Key QA Documents. More...

Improving the Quality process by doing the
Metrics Calculation


Documentation Tips.


More Resources

Some templates that
you will find useful
during the development
of your software product.


When is a test plan
to complicated

by Charles Shelby. More...

Test Development
Life Cycle.

Test Plan Outline.

The test specification should
explain "how" to implement
the test cases described in the test plan.


Have Something to Share

software testing tip, interesting bug, or had an interview lately?
Send us an Email.


Bug tracking is the single most important way to improve the quality of your software.
BugHost allows you to prioritize and make decisions that affect the quality of your software. More...


Promote Your Products or Services

Interested in promoting your products on SQAtester.com?
If so, we think you'll like
Product Storefront Program.
The concept is simple.



Manage your bugs
in minutes!


Learn more material at a Fraction of Price!

Get the training that will help you face the challenges and meet the demands of today's competitive market place.
Programs Offered: Oracle DBA, Cisco Networking, Software Testing & Programming. More...


To compete in today's market, you need Access to your Information Quickly and without hassle.
We can make this possible.

FREE 2 week trial

  Are you a new in Software Quality Assurance?

Please let this be a reference to get you started learning all about SQA. More...

Maximum Performance and Reliability.

Try our bug tracking system. We would also appreciate your feedback and comments. More...


You are here: Home > Documentation and Strategy > Test Case Sample

Test Case Sample ______________________________________

I entered the company first day, suppose the project asked me to write test case on what basis should I write the test case and how should I write it.

Posted by Prasad

I will bullet them in points for you:
1. You need to have a thorough understanding of the application that the
project is working on QC, testers need to have a complete understanding of the project.
2. You need to have a signed off Business requirements from the BA (business analysts or business development team)
3. Basing these as bench marks you will start writing test cases.
4. Some of them prefer writing each business requirement as a seperate testcase and some companies don't do it that way.
5. Try to talk to any other QC in the same project or other project to understand the process and procedures they have to write test cases or test plans or all the other stuff.

Posted by Aparna

The process of writing a test case is easy. Only thing is that you need to understand the concept given in your module's FSD (Functional Specification Document). A module is just a part of the project and the FSD is a description of your module!!

Now coming to the test case writing, take a simple example, your windows calculator where you are going to test only one operation which is adding 2 numbers. Here you need to assess the situation and your imagination should be on the right track as you wont get your product or software beforehand.

In case of testing the calculation 1 + 1 = 2, you assume that your windows
calculator has 4 buttons and a text box / display for giving you the answer.
Again assume that you have the buttons 1, 1, + and a =. So if you give 1 the first time, it should be displayed on the text box! Again you need to press the operator i.e. + and press the second input 1, which should appear on the display and then press =. The desired output you should get is 2.
This is what will be given in the FSD. And moreover they would also give you some fine details about how the process takes place which is not testable. Now the stuff in the second paragraph will be given in your FSD in a refined language.

So first you check when we press 1 do we see it on the screen.
Test case should be:
"Verification of display of 1 on the screen when the input was given or when the button was clicked"
and similarly for the second input:
"Verification of display of 1 on the screen when the input was given or when the button was clicked"
Now comes the result:
"Verification of display of to on the screen when the = button was pressed"

In some FSDs you would be given about a warning when you give non-numerical values like a, b instead of 1..
If its given, well you can strait away write another test case "Verification of warning message stating "invalid input (or anything given as per FSD) on the screen when the input given is a character (specifically: A)". If its not given you can note it in your testware (excel sheet) as an observation.

When you are writing a test case please check you test whatever is given in your FSD, Business Requirement.

Posted by Vathsal

No one would expect you to write a usable test case the first day. You must spend time learning the application and reading the requirements etc. This will take several weeks. Then you would determine what test cases have already been written so as not to duplicate efforts. You should also find out
what is expected of you from your manager .
To write the test cases, usually there are test case standards imposed by the organization. The main components are the description, the setup conditions, the objectives of the test case, the actual steps which should be as simple as possible describing how to input something and what is expected as an output. Then a Pass/Fail statement and maybe a comments area describing what you think caused the failure if it failed.

Posted by Rich

File Open - Test case

Steps to reproduce:
1. Launch Application
2. Select "File" menu
File menu pulls down
3. Choose "Open"
"Open" dialog box appears
4. Select a file to open
5. Click OK
Result: File should open

Test case

Test case ID: B 001
Test Description: verify
B - bold formatting to the text
Revision History:
3/ 23/ 00 1.0- Valerie- Created
Function to be tested:
B - bold formatting to the text
Environment: Win 98
Test setup: N/A
Test Execution:
1. Open program
2. Open new document
3. Type any text
4. Select the text to make bold.
5. Click
Expected Result: Applies bold formatting to the text
Actual Result:

Test Case

Summary: This sample test case may be giving your some input how to write test case.

<CoesLogin.xls> Download

shared by Ashok Kumar Nanda

Test Case Master

Summary: Attached a replicate of the test case master, which will be use for logging the test cases into it.

<TestCaseMaster.doc> Download

shared by Rahul S Chavan

Test Case

Summary: Here the test case sample that use my company.

<t_tca_e.doc> Download

shared by Sylvette Morissette
Share your thoughts on Bugs and Fixes in SQAtester Group.

E-mail to a Friend.
NOTE: This is only an example of a Test Cases. Test Cases can be more or less complicated, more or less detailed. In real environments your Case's contents and layout most likely will be different, depends on your project and company requirements.



Books to Read ________________________________________

Quality Web Systems
This book provides a framework for ensuring that key Web system success criteria are addressed during the development of a Web system. Detailed technical guidance is provided for all criteria, along with testing strategies that allow for verification of a quality implementation.


Automated Software Testing
Written for those with some background in software engineering, Automated Software Testing: Introduction, Management, and Performance delivers a rigorous guide to the state of the art in managing automated testing in a text that will benefit anyone who tests software for a living.

More... books on Software Testing.


Categories ________________________________
Bugs and Fixes   Software Life Cycle  
Bugs Life   SQA Career  
Bug Tracking   Testers Area  
Companies and Products   Tester toTester  
Documentation and Strategy   Testing Center  
Methodology and Techniques   Testing Newsletter  
More Resources   Testing Tips  
Publication and News   Tools and Automation  
QATeam   Tutorials and Training  
Community ________________________________
Join Now Free   Message Forum  
Share Your Experience   Professional Profiles  
Specials __________________________________
Millions of titles discounted up to 40-90% off. Great low prices on your favorite books. More...   Find all of your favorite software.


  Software Planner: Project Management / Change Management and Help Desk Solutions. Free 2 Week Trial. More...  


© Copyright since 2000 by SQAtester.com. All Rights Reserved. For information on SQAtester.com, visit About Us