Академический Документы
Профессиональный Документы
Культура Документы
Every day I keep on getting several requests for Test Case Template. And I'm surprised that
many testers are still documenting test cases with Word docs or Excel les.
Most of them prefer excel spreadsheets because they can easily group test cases by test
types and most importantly they can easily get test metrics with Excel formulas. But I’m
sure that as the volume of your tests goes on increasing, you will nd it extremely di cult
to manage.
If you are not using any Test case management tool, then I would strongly recommend you
to use an open-source tool to manage and execute your test cases.
Test case formats may vary from one organization to another. But using a standard test
Home
case formatResources FREE
for writing test EBooks
cases QA Testing
is one step closer toset Courses
up a testing Automation
process for your
project.
Types Of Testing Tutorials
It also minimizes Ad-hoc testing that is done without proper test case documentation. But
even if you use standard templates, you need to set up test cases writing, review &
approve, test execution and most importantly test report preparation process, etc by using
manual methods.
Also if you have a process to review the test cases by the business team, then you must
format these test cases in a template that is agreed by both the parties.
Recommended Tools
Before continuing to the Test case writing process, we recommend downloading these Test
case management tools. This will ease your test plan and test case writing process
mentioned in this tutorial.
#1) TestRail
#2) TestMonitor
Home Resources FREE EBooks QA Testing Courses Automation
Types Of Testing Tutorials
Here is how to make this manual test case management process a bit easier with the help
of simple testing templates.
Note: I've listed the maximum number of elds related to a test case. But it is advised to
use only those elds which are used by your team. Also, if you think any eld used by your
team is missing from this list, then feel free to add it to your customized template.
Several standard elds of a sample Test Case template are listed below.
Test case ID: Unique ID is required for each test case. Follow some convention to indicate
the types of the test. For Example, ‘TC_UI_1' indicating ‘user interface test case #1'.
Test priority (Low/Medium/High): This is very useful while test execution. Test priority for
business rules and functional test cases can be medium or higher whereas minor user
interface cases can be of a low priority. Test priority should always be set by the reviewer.
Module Name: Mention the name of the main module or the sub-module.
Test Executed By Name of the Tester who executed this test. To be lled only after test
execution.
Test Title/Name: Test case title. For Example, verify the login page with a valid username
and password.
Pre-conditions: Any prerequisite that must be ful lled before the execution of this test
case. List all the pre-conditions in order to execute this test case successfully.
Dependencies: Mention any dependencies on the other test cases or test requirements.
Test Steps: List all the test execution steps in detail. Write test steps in the order in which
they should be executed. Make sure to provide as many details as you can.
Pro Tip: In order to manage a test case e ciently with a lesser number of elds use
this eld to describe the test conditions, test data and user roles for running the test.
Test Data: Use of test data as an input for this test case. You can provide di erent data
sets with exact values to be used as an input.
Expected Result: What should be the system output after test execution? Describe the
expected result in detail including message/error that should be displayed on the screen.
Post-condition: What should be the state of the system after executing this test case?
Actual result: The actual test result should be lled after test execution. Describe the
system behavior after test execution.
Status (Pass/Fail): If an actual result is not as per the expected result, then mark this test
as failed. Otherwise, update it as passed.
Defect ID/Link: If the test status is failed, then include the link to the defect log or
mention the defect number.
Home Resources FREE EBooks QA Testing Courses Automation
Test Type/Keywords: This eld can be used to classify the tests based on test types. For
Types Of Testing Tutorials
Example, functional, usability, business rules, etc.
Requirements: Requirements for which this test case is being written for. Preferably the
exact section number of the requirement doc.
Attachments/References: This eld is useful for complex test scenarios in order to explain
the test steps or expected results using a Visio diagram as a reference. Provide the link or
location to the actual path of the diagram or document.
Automation? (Yes/No): Whether this test case is automated or not. It is useful to track the
automation status when test cases are automated.
With the help of the above elds, I've prepared an example test case template for your
reference.
Also, here you can refer a few more articles on writing e ective test cases. Use these test
writing guidelines and the above template to write and manage the test cases e ectively
on your project.
Tutorial #1: 180+ Sample Test Cases for Web and Desktop Applications
Based on the above template, below is an example that showcases the concept in a much
understandable way.
Let's assume that you are testing the login functionality of any web application, say
Facebook.
Home Resources FREE EBooks QA Testing Courses Automation
Types Of Testing Tutorials
=> Download the above Test case format with example data
Home Resources FREE EBooks QA Testing Courses Automation
Types Of Testing Tutorials
Conclusion
Personally, I prefer to use a Test Case Management tool. You can start with an open-source
tool. It will be a good addition to your e orts to set up the testing process and meanwhile,
it will also save a lot of time instead of manually maintaining these documents.
We have also seen test case templates and a few examples using very good, quality
documentation. I hope this article would have been helpful to you.
Recommended Reading
Writing Test Cases From SRS Document (DOWNLOAD Live Project Sample Test Cases)
Home Resources FREE EBooks QA Testing Courses Automation
How to Report Test Execution Smartly – [Download Status Report Template]
Types Of Testing Tutorials
Sample Test Plan Document (Test Plan Example With Details Of Each Field)
How to Write Test Cases For a Login Page (Sample Scenarios)
How to Write Test Cases: The Ultimate Guide with Examples
How To Write Test Strategy Document (With Sample Test Strategy Template)
How to Write an E ective Test Summary Report [Sample Report Download]
Sample Software Test Plan Template with Format and Contents
John
Reply
Vijayakumar
Reply
Tej
Reply
itsgamingtime
Reply
robbidarwis
nice
Reply
ch.sathish
Hello sir..
I have one doubt can i write test cases for any application in the form of like
testcase id, testcase discription and actual and expectd result these 4 cases is
enough for any test cases..
Reply
ch.sathish
Hello sir……….
MY query is …I’m asked “write testcases for train ticket reservation system”
.Should i use the table format like test case template or test scenario ……or just
1.Description and Expected result alone ?please reply as soon as possible…
Reply
Max Vignesh
Hello Sir,
Home Resources FREE EBooks QA Testing Courses Automation
this is very usefel …really a great man .. thank and regards
Types Of Testing Tutorials
Reply
Blank
Reply
Daljinder Kaur
like for
about us
sell your house
buyer home search
and so on…
Reply
Prasad
Con you please help me for installing bugzila tracking tool on my local windows
copy.
Reply
anant
Reply
Ranjith
please give the full document report which you have tested in the Excel sheet
document.and
Home send to
Resources mailid
FREE please QA Testing
EBooks Courses Automation
Reply
Types Of Testing Tutorials
alena
Reply
Kiptoo
Reply
Very informative and suites my requirement, I will use many of the elds from this
template.
Reply
viresh
Hi guys
I am getting one issue that is like “” Recurring 3D Secure order is not allowed “‘
while adding cards i am getting this issue so please anyone suggest me
Thanks
viresh
8553755806
Reply
krish
Reply
jaychand
Home Resources FREE EBooks QA Testing Courses Automation
Types Ofplz
its v.usefull but i am trainee…so Testing
help me Tutorials
out to be best in testing…
that i had
Reply
Gurpreet
send me the test case based on functional testing for product detail page of
online shopping like amazon, ipkart etc
Reply
Pablo
Hi, you said that Excel could be a bad solution for the long term. Which alternative
you consider better?
Reply
Asd
Reply
journalspider
Reply
Honey
Reply
sankar
Home Resources FREE EBooks QA Testing Courses Automation
Types Of Testing
Thanks for detailed information. Tutorials
Reply
suraksha
Reply
Farees Haqimi
Iam diva living la vida, come to me….. sayang sayang sayang . muah :* mioww
Reply
wan
stay with me…sayang sayang sayang…meowww say with me sayang sayang sayang
Reply
Ram
Reply
fab
Reply
Anjum
Hi Vijay,
When ever I need any help on testing and automation I visit your site and leave
Home Resources FREE EBooks QA Testing be
your website happy and contended. Reading anything
Courses Automation
paragraph
it a single has
always enhanced my knowledge. Thanks for sharing your knowledge and
Types Of Testing Tutorials
experience with us.
Reply
Mohd Yusuf
Thank you
Reply
Ahmad
Reply
Kumar Jadhav
Hi Team,
It good to see with example, but you have to give test case which is fail and what
to do next step if it will be helfull to beginer.
Reply
Rushikesh
Reply
Rushikesh
nice
Reply
Home Resources FREE EBooks QA Testing Courses Automation
labin sapkota Types Of Testing Tutorials
IS there possible to write same test cases for IOT devices vulnerabilities ???
Reply
Anuj Shukla
Reply
karunakar
in mobile app where giving the login details it will going to home page without
causing any error..but after open home page where it will be blank…..so user will
face what are errors and how to write testcase…..can you explain me plz…..
Reply
Shehryar Javed
Reply
sweety
super example,………..woooowwwwww
Reply
nancy
Reply
Home Resources FREE EBooks QA Testing Courses Automation
Rimmy Types Of Testing Tutorials
Hi sir,
Can you please tell me if I want to check any E-Commerce website early then how
many types of testing is required?
Reply
Jake
I’m going to have to try this out, I only just found out about it. Hopefully I can get
it working properly.
Reply
Rajwinder
Hi,
I just started learning QA, please help me out how to write a test case on “Home
Address”. I know it’s a combination of alphanumeric. I would like to know should i
write separate valid and invalid test cases?? what should i do and what should i
write?
Reply
Pooja Chawla
Reply
Adetunji
Reply
isma
Home Resources FREE EBooks QA Testing Courses Automation
Types
i want to write atest case Of Testing
for home age of Tutorials and main functionality
any application
page
Reply
← Older Comments
Leave a Comment
Name *
Email *
POST COMMENT
About SoftwareTestingHelp
Helping our community since 2006! Most popular portal for Software professionals
with 100 million+ visits! You will absolutely love our tutorials on Software Testing,
Development, Software Reviews and much more!
Home Resources FREE EBooks QA Testing Courses Automation
ABOUT US | CONTACT US | ADVERTISE | TESTING SERVICES
Types OfAND
ALL ARTICLES ARE COPYRIGHTED Testing BE Tutorials
CAN NOT REPRODUCED WITHOUT PERMISSION.
© COPYRIGHT SOFTWARETESTINGHELP 2020 — READ OUR COPYRIGHT POLICY | PRIVACY POLICY | TERMS | COOKIE
POLICY | AFFILIATE DISCLAIMER | LINK TO US
Could not connect to the reCAPTCHA service. Please check your internet connection and reload
to get a reCAPTCHA challenge.