Professional Documents
Culture Documents
Testcasetemplate
Testcasetemplate
1. As far as possible, write test cases in such a way that you test only one thing at a time. Do not overlap or complicate tes
2. Attempt to make your test cases ‘atomic’.
3. Ensure that all positive scenarios and negative scenarios are covered.
4. Language: Write in simple and easy to understand language.
5. Use active voice: Do this, do that.
6. Use exact and consistent names (of forms, fields, etc).
9 Review
10 Reusable
ds, etc).
ments.
ver and over.
Application
Name the Test Cases so to represent the module name or functional area you are going to verify in that test case.
Enter as much information as possible in Description!
Make sure to add as much information as possible for any conditions to be met before running the test case.
To make your life easy as a tester (and your fellow-testers!), wherever applicable, you can give Test Data to be used for th
This saves a lot of time in the long run as you won’t have to hunt a new test data every time you need to execute the test.
The Test Design Steps should not only cover the functional flow but also each verification point which should be tested!
wherever possible you should attach the relevant artefacts to your test case.
Each test design step should clearly mention what you expect as outcome of that verification step.
So, while writing test cases, mention in detail what page/screen you expect to appear after the test and, any changes you
You can also attach screenshots or specification documents to the relevant step and mention that the system should work
You should write Test Cases that:
• Are Simple and easily understandable by everyone (including YOU!)
• Are to-the-point! You don’t have to be writing essays! (wherever you feel any Test Case is going beyond a certain amoun
• Still have enough coverage
Review can be done by peer testers (termed as ‘Peer Review’), BA, developers, product owners or any relevant stakehold
You should write test cases keeping in mind that they could be re-used in the future for some other project/teams.
On that note, before writing a new Test Case for your project/module, always try and find out if there are Test Cases writt
Always consider updating the existing Test Cases (if any) before you start writing New Test Cases!
Post-conditions basically specify the various things that need to be verified after the Test has been carried out.
In addition, post-conditions are also used to give guiding instruction to restore the system to its original state for it not to
Serial Test Suite ID Test Case Test Case Related Prerequisites Test Test Data
Numbers ID Summary Requirement Procedur
e
Expected Actual Status Remarks Created Date of Executed Date of
Result Result By Creation By Execution
Test
Environment
Column Serial Test Suite Test Case Test Case Related Prerequisites
Names Numbers ID ID Summary Requirement
Definitions/ Test case The ID of The ID of The summary / The ID of the Any prerequisites or
Explanation Count the test suite the test objective of the requirement this preconditions that
to which this case. test case. test case must be fulfilled
test case relates/traces to. prior to executing
belongs. the test.
Step-by-step procedure to The test data, or The expected result of the The actual result of
execute the test. links to the test test. the test; to be filled
data, that are to be after executing the
used while test.
conducting the test.
Pass or Fail. Any comments on The name of the The date of creation The name of the
the test case or test author of the test of the test case. person who
Other statuses can be execution. case. executed the test.
‘Not Executed’ if
testing is not
performed and
‘Blocked’ if testing is
blocked.
Browser: Chrome
N