how to write test cases

To write effective test case I have few criteria
1- I put myself into customer shoes by writing
test scenarios by end users perspective
2-I am trying to be specific by using clear statements
to make it understandable by everyone
3-And I am aiming %100 test coverage by
planing my test cases to make sure covers each
component and functionality specified in SRS document
4-And also I actively use test case management tool
jiraxray which helps me not only write text effective 
test cases but also helps me in tracking the progress about them
5-Also I try to keep the description small
simple and informative. Nobody likes to read long stories :)
6-And most importantly I try to do things differently
I try to think exceptionally.

0
0

                                    HOW TO WRITE TEST CASES

I break down the process into small pieces.

1. Requirement Analysis: Process starts with the grooming meeting.
I listen my PO very carefully during the grooming meeting.
Because she knows all the system reqirements and has 
connection with the business side. Even she knows all
expectations about the functionality she might not
reflect all details to the user stories and exceptance
criterias. So, I try to figure out what is the root
cause of any acceptance criteria. If I have some
doubts at first glance, it is high time to raise 
some additional question to her to clarify in and out.
After grooming meeting, I have 3 days to digest
all user stories and acceptance criterias before
sprint planning meeting. I try to find the gaps and bugs
at these phase which is a kind of static testing.
So, I can throw more detailed question on Sprint Planning meeting. 
The output of this phase is going to be RTM (Requirement Tracability Matrix). 

2. Test Planning: The most important deliverable is the test plan.
In this document, we cover the scope of the test, 
the test strategy, testing types and tools to be implemented,
roles and responsibilities. QA Lead prepares the
test plan on Jira and allocates the tasks for all QA team members.
She posts the Test Plan on Jira. 

3. Test case development:
During this phase, I generate test cases for
each and every functionality, covered in RTM.
After writing my test steps I ask related developer 
and PO to review my test steps just to make sure
that I cover all requirements and we are on the same page.
I always choose to start with happy path for each scenario.
Then I try to find out the limitations and boundries of 
the functionality which I can extract from acceptance criteria.
I force the function against all type of limitations
with different scenarios. The last 
I create some negative scenarios. 
If I find any gap during this phase
I go and tell PO to add some additional 
acceptance criterias or clarify them.

0
0
4
3
Thkim1011 115 points

                                    Let me break down the process into small pieces.
First of all
1. Requirement Analysis: Process starts with
the grooming meeting. I listen my PO very
carefully during the grooming meeting. 
Because she knows all the system reqirements
and has connection with the business side.
Even she knows all expectations about the 
functionality she might not reflect all
details to the user stories and exceptance criterias.
So, I try to figure out what is the root
cause of any acceptance criteria.
If I have some doubts at first glance,
it is high time to raise some additional
question to her to clarify in and out. 
After grooming meeting, I have 3 days to
digest all user stories and acceptance
criterias before sprint planning meeting.
I try to find the gaps and bugs at these
phase which is a kind of static testing.
So, I can throw more detailed question on
Sprint Planning meeting. The output of this
phase is going to be RTM (Requirement Tracability Matrix). 

2. Test Planning: The most important deliverable
is the test plan. In this document, we cover
the scope of the test, the test strategy,
testing types and tools to be implemented,
roles and responsibilities. QA Lead prepares
the test plan on Jira and allocates the 
tasks for all QA team members. 
She posts the Test Plan on Jira. 

3. Test case development: During this phase, 
I generate test cases for each and
every functionality, covered in RTM. 
After writing my test steps I ask related 
developer and PO to review my test steps 
just to make sure that I cover all requirements
and we are on the same page. I always choose
to start with happy path for each scenario. 
Then I try to find out the limitations and 
boundries of the functionality which I can 
extract from acceptance criteria. 
I force the function against all type of
limitations with different scenarios. 
The last I create some negative scenarios.
If I find any gap during this phase I go and
tell PO to add some additional acceptance
criterias or clarify them.

4 (3 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
Writing of Test Cases What is testcase and why we write test cases. how to write test cases in manual testing writing test cases for manual testing how to generate all test cases where to make test cases example of test cases writing test cases best practices Give an example of Testcase best practices writing test cases how to write test cases in testng how to write test cases in software testing when do we write a test case HOW TO WRITE TEST CASES AND TEST SCENARIOS what is test case and how to write the test cases How we handle test cases how to write test that cover all cases example of a test case manual testing test cases how to write equivalent test cases writing test cases software format of writing test cases how to create test cases in software testing how to write test cases for manual testing where to write test cases how to write a testcase what to write in test case how to write manual testing test cases how to write good test cases in manual testing how to write test case write test case what are the test cases in testng Test Cases writing i writing test cases given when then writing the test cases how to generate test cases To Test software by developing various test cases for software project and practice it on the project manual test template effective test cases Write test cases around the result ranking criteria the steps in a test case must be indented how to prepare test cases standard test case format how to write manual test cases test case sample EFFECTIVE TEST CASSE how to write qa test explain how to execute test cases writing down test cases types of test cases Can you write a test case that verifies the behavior of submitting a form? sample test cases how to write a good test case test cases example valid test case valid test case • how to create valid test case the components of a test case include the following. check all that apply manual test cases Test project example format in test case test cases in software testing examples test case writing design test cases for given scenarios test cases format manual test case steps example test case document sample write a test case good test case what test case should contains which is used to create the test case for login effective test case writing techniques how to write test case exffectively how to create test case exffectively in software testing test case test case example template creating a test case document expected actual qa where write test cases scenarios test case document test cases document how to make test cases for experienced testing what is a test case watch all true testcases start writing test case from scratch how to start writing test cases for web app cses test case find code for test cases test case example programming test case template test cases in software testing Which test cases are easy to identify? manual test cases template what is test case testcase test case requirements template how to build test cases how to make testcase past aT A specific condition test case sample test case ? define a format of writing a good test case test case requirements test case examples how to get the test cases for testing reporting in qa manual testing writing quality test cases writing test cases How to wwrite a test case for a HTML file testing case document HOW TO ADD TEST CASES IN APP test case sample test script for software testing writing test cases for project how to write test cases how do you write test cases how to write effective test cases how to write a test case effective test case
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source