SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
Best Practices For Test Case
Creation & Maintenance
March, 2017
Introduction
Test cases are sets of conditions or variables used by software testers to determine if a system
works correctly as expected. Test cases help in validating the testing coverage of a software
application. A test case contains essential fields that provides the information about the test
case, the activity involved in execution and the results expected. These fields include a unique
name, any preconditions, detailed steps, input conditions and expected results for a particular
app function.
Essentials Of A Good Test Case:
·​ ​It is easy to understand and execute.
·​ ​It is accurate with specific objective.
·​ ​It is easy to trace as per requirements.
·​ ​It is repeatable, and can be used to test again and again.
·​ ​It saves time and money by avoiding unnecessary steps.
·​ ​It is reusable.
Essentials To Be Included In Test Cases
The simpler & concise the test case is, the easier it is to execute the tests. They contain a unique name,
preconditions, steps, input conditions & expected results for a particular app function. The following are
the key information to be included while creating test cases:
1) Test Case Number
It is a unique number to identify the Test Case from among the number of Test cases. For example:
TC_2001
2) Component
Component is the Area of the App/Website to be tested. For example, ‘Login”. Components to be tested
should be shared before the test case writing starts.
3) Attributes
These are those aspects that describes the product’s purpose and goals. Just like adjectives that
describe nouns by giving some information, an attribute describes qualities of an app like speed.
Attributes are also shared before the test case writing process.
4) Test Case Type
This depicts the type of Test Case like Functional, GUI, Technical etc.
5) Priority
It confirms the Priority/Importance of the test case in terms of Show Stopper, High, Medium, Low.
6) Test Name
This is a logical and unique name to indicate what the test case stands for. As far as possible name test
cases as per the module name or functional area you are testing. At 99tests, we choose to write the test
case name in Camel Casing format. The format would be <Component>_<Subcomponent>_<Details>
Here are some examples of test names:
● Login_Email_Valid
● AccountSettings_EditProfile_Devices
● MyMessages_NoNewMessage
Note that the Test Name should be unique, and in no condition it should be duplicate of any other test
case.
7) Test Description
This is contains details of the test. It is normally a one-liner that specifies the verification to be done in the
test case. For instance, in the above example of test case name, “ “MyMessages_NoNewMessage”, the
description would be “To Verify the functionality of the Messages when there is no new message
available”.
8) Input Data
Test Data is mentioned in Input Data field. Here are a few pointers for handling input data:
● If the test data can be reused over time, mention test data to be used. For the test. e.g. - If the client
has already proved the credentials to login, the same can be used again.
● If the test only involves some values to be verified, specify the value range or describe what values
are to be tested for which field.
● A few values from each equivalence class which should give good coverage for your test.
● Mention the type of data, which is required to run the test and not the real test data value where the
test data keeps changing
9) Pre-conditions
This explains any Assumptions/Pre-conditions to be used for testing. It should be mentioned point wise.
For Example for the Test Name Messages_NoNewMessage , the preconditions can be as follows:
● 99tests Website is available
● User should be logged in and registered as Tester
10) Step Number
This indicates the Number for the step description like 1,2,3 etc. Should always be in order.
11) Step Description
This specifies the actions to be performed. Please make sure the description is brief and can be executed
after one reading. Also, note that it should not be too small like – “Click Submit”, “Enter data in field 1”
For example:
● Click on Message Button and check the results.
● Enter the data in the Textbox and Save
12) Expected Result
This specifies what is the actual expected out of the step that is executed. Let’s take the example of the
99tests testers page:
● Message Button should be clickable by Tester
● Data Entered Should be Saved by System
● Following Contents should be displayed by My Bugs Page:
✓ Header part
✓ 'Search Testers' field
✓ 'My Bugs' Title
✓ 'Enterprise Bug', 'Open Bug', 'Contest Bugs' link
✓ Paginations Links (optional)
✓ Bugs Details column
13) Actual Result
This specifies what actually happens after performing the step. For Example with reference to the 99tests
testers page:
● Message Button is clickable by tester
● Data Entered is not saved and an Error Message is populated by System
● Following Contents are being displayed by My Bugs Page :
✓ Header part
✓ 'Search Testers' field
✓ 'My Bugs' Title
✓ 'Enterprise Bug', 'Open Bug', 'Contest Bugs' link
✓ Paginations Links (optional)
✓ Bugs Details column
However, actual result is not to be written while writing the test cases. Actual results will be written by the
testers who are executing the test cases.
Test Coverage
This is done while keeping the End User in mind and using the experience of various testers in variety of
domains. It is also ensured to cover the following points while writing test cases:
1. Functional Testing
2. Boundary Value Analysis and Equivalence partitioning
3. Error/Warning Message
4. Input/ Output Data
5. Negative Scenarios
6. Risk Coverage
Best Practices For Effective Test Case Writing
Good test cases are easy to execute and maintain. They make the testing process more
effective by saving time and effort. Here are the top 10 best practices to follow while creating
test cases:
1) Keep It Simple And Easy To Understand
A good test case that is well written and simple, is easy for the testers to understand and
execute. Organize test cases according to specific categories or related areas of the
application. Test cases can be grouped based on their user story or modules like browser
specific behaviours etc. This makes it easier to review & maintain the test document.
Information given in the test cases should be clear to other testers, developers, and other
stakeholders involved in the project.
2) Include End User Perspective
Take into account the end user perspective before drafting a test case. Think like an end user
who is the key stakeholder for whom the app is intended. Understand the requirement, the
functionality aspects to be covered, and the end user perspective. This will help in identifying
test scenarios that arise in real life conditions, and also in coming up with test cases that are
most critical to the business.
3) Use Correct Naming Conventions
Name test cases in a way that makes it easy for stakeholders to identify it and understand its
objective. You can name the test cases according to the module or the functional area that is
included for testing.
4) Provide Test Case Description
A proper test case description will allow users to understand what is being tested and how.
Provide relevant details like the test environment and any other specific information. Mention
the testing data to be used and the testing tools, if any to be employed for executing the tests.
5) Include Assumptions And Preconditions
Include all the assumptions and conditions that are applicable for the test case. Provide details
of the test environment, any special setup for execution of test case etc.
6) Give The Steps Involved
Include the actual steps involved in the execution of the test cases. Do not miss out on any
step. Ensure that all the test case verification steps are covered. Include relevant documents or
screenshots that can help in execution of the steps included in the test design.
7) Give Details Of The Test Data
Provide the details of the test data for execution of the test case especially in cases where the
same data can be reused. This helps in saving time for creation of the test data for each cycle
to be run. Specify the value range, if applicable for respective fields. Don’t try to test each and
every value. Aim for maximum coverage by choosing a few select values from each
equivalence class.
8) Make It Reusable And Modular
As far as possible ensure that there is no dependency or conflict among test cases. In case
there are test cases that are inter-dependent or batched, mention them clearly in the test
document.
9) Assign Testing Priority
Assign testing priority to each test case based on the feature or component involved. This will
ensure that during execution, high priority test case are executed first.
10) Provide The Expected Result & Post Conditions
Include the expected result for every step of the test case. You can also include screenshots
and relevant documents for reference. Mention the post conditions or things to be verified after
the execution of the test case.
Tips For Maintenance Of Tests Cases
Change is constant for any software development project. As apps evolve, new upgrades and
changes are introduced into the system. Test cases must be maintained and updated to reflect
these new changes that are made. Here are a few tips for effective maintenance of test cases:
1) Review Test Cases After Documentations
Get the test cases reviewed by relevant stakeholders to ensure that it is easy to understand and
does not include any unnecessary steps. A periodic review and revision of test cases will help in
updating changes if any that are applicable.
2) Update Existing Test Cases Before Creating New Ones
Update the existing test cases as and when new changes are introduced in the app. Include
updates to accommodate changes to any existing user story or functionality.
3) Remove Test Cases That Are Obsolete And Unnecessary
Remove test cases that are no longer valid for existing app features. Exclude duplicate test
cases as well from the test suite.
4) Add Relevant Test Cases As Per Requirement
Create and add test cases that are required as per new upgrades or features that are introduced
in the software. Add any additional test case that is relevant, including test cases for defects
that were found by end users, post production.
Conclusion
Creation of test cases is easier with good knowledge of the technology used, the end user
perspective and the objective of the software application. Investing time and effort in creation
and maintenance of good test cases makes the entire testing process more effective and
ensures the success of the testing plan for the software project.
About 99tests
99tests is a product of Preenos Crowd Technologies Pvt Ltd. The company is funded by Infosys Co-founder, Kris Goplakrishnan,
Allianz CIO, Steve Coles and Founder of Beenos, Teruhido Sato. 99tests is a crowd test automation platform for testing mobile and
web apps by top notch testers. With over 20,000 crowd testers from 160+ countries, 99tests has helped over 200 clients including
companies like P&G, Intuit and Security scorecard to test their software.We provide companies with economical, and effective
crowd testing & automation services.​Learn how automation through 99tests can give you the insights you need to build stunning
software products. Mail us at contact@99tests.com.
www.99tests.com

Weitere ähnliche Inhalte

Was ist angesagt?

Project Management Tips to Improve Test Planning
Project Management Tips to Improve Test PlanningProject Management Tips to Improve Test Planning
Project Management Tips to Improve Test PlanningTechWell
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Processguest1f2740
 
Agile Qa Framework Jacky Wu
Agile Qa Framework Jacky WuAgile Qa Framework Jacky Wu
Agile Qa Framework Jacky WuJacky Wu
 
Agile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeIndicThreads
 
Scrum Testing Methodology
Scrum Testing MethodologyScrum Testing Methodology
Scrum Testing MethodologyGaya1985
 
Agile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated TestingAgile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated TestingDimitri Ponomareff
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101iradari
 
Software test management overview for managers
Software test management overview for managersSoftware test management overview for managers
Software test management overview for managersTJamesLeDoux
 
Agile testing - Testing From Day 1
Agile testing - Testing From Day 1Agile testing - Testing From Day 1
Agile testing - Testing From Day 1Kaizenko
 
Writing test cases from user stories and acceptance criteria
Writing test cases from user stories and acceptance criteria Writing test cases from user stories and acceptance criteria
Writing test cases from user stories and acceptance criteria An Nguyen
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterDeclan Whelan
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case WritingSarah Goldberg
 
Test Execution
Test ExecutionTest Execution
Test ExecutionRajathi-QA
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1Mona M. Abd El-Rahman
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testingsonukalpana
 

Was ist angesagt? (20)

Project Management Tips to Improve Test Planning
Project Management Tips to Improve Test PlanningProject Management Tips to Improve Test Planning
Project Management Tips to Improve Test Planning
 
QA Best Practices in Agile World_new
QA Best Practices in Agile World_newQA Best Practices in Agile World_new
QA Best Practices in Agile World_new
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Guide to Agile testing
Guide to Agile testingGuide to Agile testing
Guide to Agile testing
 
Agile Testing by Example
Agile Testing by ExampleAgile Testing by Example
Agile Testing by Example
 
Agile Qa Framework Jacky Wu
Agile Qa Framework Jacky WuAgile Qa Framework Jacky Wu
Agile Qa Framework Jacky Wu
 
Agile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil Karade
 
Scrum Testing Methodology
Scrum Testing MethodologyScrum Testing Methodology
Scrum Testing Methodology
 
Agile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated TestingAgile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated Testing
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101
 
Software test management overview for managers
Software test management overview for managersSoftware test management overview for managers
Software test management overview for managers
 
Agile testing - Testing From Day 1
Agile testing - Testing From Day 1Agile testing - Testing From Day 1
Agile testing - Testing From Day 1
 
Agile testing
Agile testingAgile testing
Agile testing
 
Writing test cases from user stories and acceptance criteria
Writing test cases from user stories and acceptance criteria Writing test cases from user stories and acceptance criteria
Writing test cases from user stories and acceptance criteria
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case Writing
 
Introduction to Software Test Automation
Introduction to Software Test AutomationIntroduction to Software Test Automation
Introduction to Software Test Automation
 
Test Execution
Test ExecutionTest Execution
Test Execution
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 

Andere mochten auch

Diving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesDiving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesQASymphony
 
Best Practices In Exploratory Testing
Best Practices In Exploratory TestingBest Practices In Exploratory Testing
Best Practices In Exploratory Testing99tests
 
Knowing Where to Tap
Knowing Where to TapKnowing Where to Tap
Knowing Where to TapQASymphony
 
BHIM App Case Study
BHIM App Case StudyBHIM App Case Study
BHIM App Case Study99tests
 
Whitebox Testing for Blackbox Testers: Simplifying API Testing
Whitebox Testing for Blackbox Testers: Simplifying API TestingWhitebox Testing for Blackbox Testers: Simplifying API Testing
Whitebox Testing for Blackbox Testers: Simplifying API TestingQASymphony
 
Manual Testing is Dead. Long Live Manual Testing
Manual Testing is Dead. Long Live Manual TestingManual Testing is Dead. Long Live Manual Testing
Manual Testing is Dead. Long Live Manual TestingQASymphony
 
Debugging Your Testing Team
Debugging Your Testing TeamDebugging Your Testing Team
Debugging Your Testing TeamQASymphony
 
Modernizing Your Testing Tools
Modernizing Your Testing ToolsModernizing Your Testing Tools
Modernizing Your Testing ToolsQASymphony
 
Succeeding as an Introvert
Succeeding as an IntrovertSucceeding as an Introvert
Succeeding as an IntrovertQASymphony
 
Operate 24x7
Operate 24x7Operate 24x7
Operate 24x7Astegic
 
Future Of Software Testing
Future Of Software TestingFuture Of Software Testing
Future Of Software Testing99tests
 
TUI & qTest: Why, How and Where Next
TUI & qTest:  Why, How and Where Next TUI & qTest:  Why, How and Where Next
TUI & qTest: Why, How and Where Next QASymphony
 
Moving QA from Reactive to Proactive with qTest
Moving QA from Reactive to Proactive  with qTestMoving QA from Reactive to Proactive  with qTest
Moving QA from Reactive to Proactive with qTestQASymphony
 
Product Teardown for SaaS companies at #SaaSx4
Product Teardown for SaaS companies at #SaaSx4Product Teardown for SaaS companies at #SaaSx4
Product Teardown for SaaS companies at #SaaSx4ProductNation/iSPIRT
 
Building Better Collaboration Between Development and Testing in a DevOps World
Building Better Collaboration Between Development and Testing in a DevOps WorldBuilding Better Collaboration Between Development and Testing in a DevOps World
Building Better Collaboration Between Development and Testing in a DevOps WorldQASymphony
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsQASymphony
 

Andere mochten auch (16)

Diving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesDiving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the Technologies
 
Best Practices In Exploratory Testing
Best Practices In Exploratory TestingBest Practices In Exploratory Testing
Best Practices In Exploratory Testing
 
Knowing Where to Tap
Knowing Where to TapKnowing Where to Tap
Knowing Where to Tap
 
BHIM App Case Study
BHIM App Case StudyBHIM App Case Study
BHIM App Case Study
 
Whitebox Testing for Blackbox Testers: Simplifying API Testing
Whitebox Testing for Blackbox Testers: Simplifying API TestingWhitebox Testing for Blackbox Testers: Simplifying API Testing
Whitebox Testing for Blackbox Testers: Simplifying API Testing
 
Manual Testing is Dead. Long Live Manual Testing
Manual Testing is Dead. Long Live Manual TestingManual Testing is Dead. Long Live Manual Testing
Manual Testing is Dead. Long Live Manual Testing
 
Debugging Your Testing Team
Debugging Your Testing TeamDebugging Your Testing Team
Debugging Your Testing Team
 
Modernizing Your Testing Tools
Modernizing Your Testing ToolsModernizing Your Testing Tools
Modernizing Your Testing Tools
 
Succeeding as an Introvert
Succeeding as an IntrovertSucceeding as an Introvert
Succeeding as an Introvert
 
Operate 24x7
Operate 24x7Operate 24x7
Operate 24x7
 
Future Of Software Testing
Future Of Software TestingFuture Of Software Testing
Future Of Software Testing
 
TUI & qTest: Why, How and Where Next
TUI & qTest:  Why, How and Where Next TUI & qTest:  Why, How and Where Next
TUI & qTest: Why, How and Where Next
 
Moving QA from Reactive to Proactive with qTest
Moving QA from Reactive to Proactive  with qTestMoving QA from Reactive to Proactive  with qTest
Moving QA from Reactive to Proactive with qTest
 
Product Teardown for SaaS companies at #SaaSx4
Product Teardown for SaaS companies at #SaaSx4Product Teardown for SaaS companies at #SaaSx4
Product Teardown for SaaS companies at #SaaSx4
 
Building Better Collaboration Between Development and Testing in a DevOps World
Building Better Collaboration Between Development and Testing in a DevOps WorldBuilding Better Collaboration Between Development and Testing in a DevOps World
Building Better Collaboration Between Development and Testing in a DevOps World
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
 

Ähnlich wie Best practices for test case creation & maintenance

Essential information to be included in test cases
Essential information to be included in test casesEssential information to be included in test cases
Essential information to be included in test cases99tests
 
Testcase training
Testcase trainingTestcase training
Testcase trainingmedsherb
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test CasesVivekRajawat9
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_moduleSuresh Mishra
 
Salient tips for writing effective test cases
Salient tips for writing effective test casesSalient tips for writing effective test cases
Salient tips for writing effective test casesBugRaptors
 
AJRA Test Strategy Discussion
AJRA Test Strategy DiscussionAJRA Test Strategy Discussion
AJRA Test Strategy Discussionajrhem
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test ScenariosSneha Singh
 
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013Ian McDonald
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented TestingAMITJain879
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notesonsoftwaretest
 
Software Test Automation - Best Practices
Software Test Automation - Best PracticesSoftware Test Automation - Best Practices
Software Test Automation - Best PracticesArul Selvan
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.Jithinctzz
 
Importance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and AgileImportance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and AgileChandan Mishra
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutionsgavhays
 

Ähnlich wie Best practices for test case creation & maintenance (20)

Essential information to be included in test cases
Essential information to be included in test casesEssential information to be included in test cases
Essential information to be included in test cases
 
Testcase training
Testcase trainingTestcase training
Testcase training
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
 
Salient tips for writing effective test cases
Salient tips for writing effective test casesSalient tips for writing effective test cases
Salient tips for writing effective test cases
 
AJRA Test Strategy Discussion
AJRA Test Strategy DiscussionAJRA Test Strategy Discussion
AJRA Test Strategy Discussion
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
 
Test case development
Test case developmentTest case development
Test case development
 
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013
 
software testing
software testingsoftware testing
software testing
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
 
Test cases
Test casesTest cases
Test cases
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
 
Software Test Automation - Best Practices
Software Test Automation - Best PracticesSoftware Test Automation - Best Practices
Software Test Automation - Best Practices
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
Importance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and AgileImportance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and Agile
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Istqb lesson1
Istqb lesson1Istqb lesson1
Istqb lesson1
 

Mehr von 99tests

Restoration Hardware Case Study
Restoration Hardware Case StudyRestoration Hardware Case Study
Restoration Hardware Case Study99tests
 
Proctor & Gamble Case Study
Proctor & Gamble Case StudyProctor & Gamble Case Study
Proctor & Gamble Case Study99tests
 
Reverie Case Study
Reverie Case StudyReverie Case Study
Reverie Case Study99tests
 
Allianz Case Study
Allianz Case StudyAllianz Case Study
Allianz Case Study99tests
 
99tests Corporate Brochure 2017
99tests Corporate Brochure 201799tests Corporate Brochure 2017
99tests Corporate Brochure 201799tests
 
How Crowd Testing Works
How Crowd Testing WorksHow Crowd Testing Works
How Crowd Testing Works99tests
 
Best Practises In Test Automation
Best Practises In Test AutomationBest Practises In Test Automation
Best Practises In Test Automation99tests
 
Bhim app case study.ppt
Bhim app case study.pptBhim app case study.ppt
Bhim app case study.ppt99tests
 
Difference between crowd testing & in house QA
Difference between crowd testing & in house QADifference between crowd testing & in house QA
Difference between crowd testing & in house QA99tests
 
Need for automation testing
Need for automation testingNeed for automation testing
Need for automation testing99tests
 
99tests Market Guide For Mobile Wallets In India
99tests Market Guide For Mobile Wallets In India99tests Market Guide For Mobile Wallets In India
99tests Market Guide For Mobile Wallets In India99tests
 
Assure End User Experience By Testing In Real World Scenarios
Assure End User Experience By Testing In Real World ScenariosAssure End User Experience By Testing In Real World Scenarios
Assure End User Experience By Testing In Real World Scenarios99tests
 
Why Google Uses Crowd Testing
Why Google Uses Crowd TestingWhy Google Uses Crowd Testing
Why Google Uses Crowd Testing99tests
 
Top 5 Software Testing Skills For Testers
Top 5 Software Testing Skills For TestersTop 5 Software Testing Skills For Testers
Top 5 Software Testing Skills For Testers99tests
 
7 Factors to Consider While Developing Mobile Apps
7 Factors to Consider While Developing Mobile Apps7 Factors to Consider While Developing Mobile Apps
7 Factors to Consider While Developing Mobile Apps99tests
 
21 infamous &amp; expensive software bugs
21 infamous &amp; expensive software bugs21 infamous &amp; expensive software bugs
21 infamous &amp; expensive software bugs99tests
 
99tests Corporate Brochure
99tests Corporate Brochure99tests Corporate Brochure
99tests Corporate Brochure99tests
 
Usability testing
Usability testingUsability testing
Usability testing99tests
 
Security testing
Security testingSecurity testing
Security testing99tests
 
Localization testing
Localization testingLocalization testing
Localization testing99tests
 

Mehr von 99tests (20)

Restoration Hardware Case Study
Restoration Hardware Case StudyRestoration Hardware Case Study
Restoration Hardware Case Study
 
Proctor & Gamble Case Study
Proctor & Gamble Case StudyProctor & Gamble Case Study
Proctor & Gamble Case Study
 
Reverie Case Study
Reverie Case StudyReverie Case Study
Reverie Case Study
 
Allianz Case Study
Allianz Case StudyAllianz Case Study
Allianz Case Study
 
99tests Corporate Brochure 2017
99tests Corporate Brochure 201799tests Corporate Brochure 2017
99tests Corporate Brochure 2017
 
How Crowd Testing Works
How Crowd Testing WorksHow Crowd Testing Works
How Crowd Testing Works
 
Best Practises In Test Automation
Best Practises In Test AutomationBest Practises In Test Automation
Best Practises In Test Automation
 
Bhim app case study.ppt
Bhim app case study.pptBhim app case study.ppt
Bhim app case study.ppt
 
Difference between crowd testing & in house QA
Difference between crowd testing & in house QADifference between crowd testing & in house QA
Difference between crowd testing & in house QA
 
Need for automation testing
Need for automation testingNeed for automation testing
Need for automation testing
 
99tests Market Guide For Mobile Wallets In India
99tests Market Guide For Mobile Wallets In India99tests Market Guide For Mobile Wallets In India
99tests Market Guide For Mobile Wallets In India
 
Assure End User Experience By Testing In Real World Scenarios
Assure End User Experience By Testing In Real World ScenariosAssure End User Experience By Testing In Real World Scenarios
Assure End User Experience By Testing In Real World Scenarios
 
Why Google Uses Crowd Testing
Why Google Uses Crowd TestingWhy Google Uses Crowd Testing
Why Google Uses Crowd Testing
 
Top 5 Software Testing Skills For Testers
Top 5 Software Testing Skills For TestersTop 5 Software Testing Skills For Testers
Top 5 Software Testing Skills For Testers
 
7 Factors to Consider While Developing Mobile Apps
7 Factors to Consider While Developing Mobile Apps7 Factors to Consider While Developing Mobile Apps
7 Factors to Consider While Developing Mobile Apps
 
21 infamous &amp; expensive software bugs
21 infamous &amp; expensive software bugs21 infamous &amp; expensive software bugs
21 infamous &amp; expensive software bugs
 
99tests Corporate Brochure
99tests Corporate Brochure99tests Corporate Brochure
99tests Corporate Brochure
 
Usability testing
Usability testingUsability testing
Usability testing
 
Security testing
Security testingSecurity testing
Security testing
 
Localization testing
Localization testingLocalization testing
Localization testing
 

Kürzlich hochgeladen

WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 

Kürzlich hochgeladen (20)

WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 

Best practices for test case creation & maintenance

  • 1. Best Practices For Test Case Creation & Maintenance March, 2017
  • 2. Introduction Test cases are sets of conditions or variables used by software testers to determine if a system works correctly as expected. Test cases help in validating the testing coverage of a software application. A test case contains essential fields that provides the information about the test case, the activity involved in execution and the results expected. These fields include a unique name, any preconditions, detailed steps, input conditions and expected results for a particular app function. Essentials Of A Good Test Case: ·​ ​It is easy to understand and execute. ·​ ​It is accurate with specific objective. ·​ ​It is easy to trace as per requirements. ·​ ​It is repeatable, and can be used to test again and again. ·​ ​It saves time and money by avoiding unnecessary steps. ·​ ​It is reusable. Essentials To Be Included In Test Cases The simpler & concise the test case is, the easier it is to execute the tests. They contain a unique name, preconditions, steps, input conditions & expected results for a particular app function. The following are the key information to be included while creating test cases: 1) Test Case Number It is a unique number to identify the Test Case from among the number of Test cases. For example: TC_2001 2) Component Component is the Area of the App/Website to be tested. For example, ‘Login”. Components to be tested should be shared before the test case writing starts.
  • 3. 3) Attributes These are those aspects that describes the product’s purpose and goals. Just like adjectives that describe nouns by giving some information, an attribute describes qualities of an app like speed. Attributes are also shared before the test case writing process. 4) Test Case Type This depicts the type of Test Case like Functional, GUI, Technical etc. 5) Priority It confirms the Priority/Importance of the test case in terms of Show Stopper, High, Medium, Low. 6) Test Name This is a logical and unique name to indicate what the test case stands for. As far as possible name test cases as per the module name or functional area you are testing. At 99tests, we choose to write the test case name in Camel Casing format. The format would be <Component>_<Subcomponent>_<Details> Here are some examples of test names: ● Login_Email_Valid ● AccountSettings_EditProfile_Devices ● MyMessages_NoNewMessage Note that the Test Name should be unique, and in no condition it should be duplicate of any other test case. 7) Test Description This is contains details of the test. It is normally a one-liner that specifies the verification to be done in the test case. For instance, in the above example of test case name, “ “MyMessages_NoNewMessage”, the description would be “To Verify the functionality of the Messages when there is no new message available”. 8) Input Data Test Data is mentioned in Input Data field. Here are a few pointers for handling input data:
  • 4. ● If the test data can be reused over time, mention test data to be used. For the test. e.g. - If the client has already proved the credentials to login, the same can be used again. ● If the test only involves some values to be verified, specify the value range or describe what values are to be tested for which field. ● A few values from each equivalence class which should give good coverage for your test. ● Mention the type of data, which is required to run the test and not the real test data value where the test data keeps changing 9) Pre-conditions This explains any Assumptions/Pre-conditions to be used for testing. It should be mentioned point wise. For Example for the Test Name Messages_NoNewMessage , the preconditions can be as follows: ● 99tests Website is available ● User should be logged in and registered as Tester 10) Step Number This indicates the Number for the step description like 1,2,3 etc. Should always be in order. 11) Step Description This specifies the actions to be performed. Please make sure the description is brief and can be executed after one reading. Also, note that it should not be too small like – “Click Submit”, “Enter data in field 1” For example: ● Click on Message Button and check the results. ● Enter the data in the Textbox and Save 12) Expected Result This specifies what is the actual expected out of the step that is executed. Let’s take the example of the 99tests testers page:
  • 5. ● Message Button should be clickable by Tester ● Data Entered Should be Saved by System ● Following Contents should be displayed by My Bugs Page: ✓ Header part ✓ 'Search Testers' field ✓ 'My Bugs' Title ✓ 'Enterprise Bug', 'Open Bug', 'Contest Bugs' link ✓ Paginations Links (optional) ✓ Bugs Details column 13) Actual Result This specifies what actually happens after performing the step. For Example with reference to the 99tests testers page: ● Message Button is clickable by tester ● Data Entered is not saved and an Error Message is populated by System ● Following Contents are being displayed by My Bugs Page : ✓ Header part ✓ 'Search Testers' field ✓ 'My Bugs' Title ✓ 'Enterprise Bug', 'Open Bug', 'Contest Bugs' link ✓ Paginations Links (optional) ✓ Bugs Details column
  • 6. However, actual result is not to be written while writing the test cases. Actual results will be written by the testers who are executing the test cases. Test Coverage This is done while keeping the End User in mind and using the experience of various testers in variety of domains. It is also ensured to cover the following points while writing test cases: 1. Functional Testing 2. Boundary Value Analysis and Equivalence partitioning 3. Error/Warning Message 4. Input/ Output Data 5. Negative Scenarios 6. Risk Coverage Best Practices For Effective Test Case Writing Good test cases are easy to execute and maintain. They make the testing process more effective by saving time and effort. Here are the top 10 best practices to follow while creating test cases: 1) Keep It Simple And Easy To Understand A good test case that is well written and simple, is easy for the testers to understand and execute. Organize test cases according to specific categories or related areas of the application. Test cases can be grouped based on their user story or modules like browser specific behaviours etc. This makes it easier to review & maintain the test document. Information given in the test cases should be clear to other testers, developers, and other stakeholders involved in the project.
  • 7. 2) Include End User Perspective Take into account the end user perspective before drafting a test case. Think like an end user who is the key stakeholder for whom the app is intended. Understand the requirement, the functionality aspects to be covered, and the end user perspective. This will help in identifying test scenarios that arise in real life conditions, and also in coming up with test cases that are most critical to the business. 3) Use Correct Naming Conventions Name test cases in a way that makes it easy for stakeholders to identify it and understand its objective. You can name the test cases according to the module or the functional area that is included for testing. 4) Provide Test Case Description A proper test case description will allow users to understand what is being tested and how. Provide relevant details like the test environment and any other specific information. Mention the testing data to be used and the testing tools, if any to be employed for executing the tests. 5) Include Assumptions And Preconditions Include all the assumptions and conditions that are applicable for the test case. Provide details of the test environment, any special setup for execution of test case etc. 6) Give The Steps Involved Include the actual steps involved in the execution of the test cases. Do not miss out on any step. Ensure that all the test case verification steps are covered. Include relevant documents or screenshots that can help in execution of the steps included in the test design. 7) Give Details Of The Test Data Provide the details of the test data for execution of the test case especially in cases where the same data can be reused. This helps in saving time for creation of the test data for each cycle to be run. Specify the value range, if applicable for respective fields. Don’t try to test each and
  • 8. every value. Aim for maximum coverage by choosing a few select values from each equivalence class. 8) Make It Reusable And Modular As far as possible ensure that there is no dependency or conflict among test cases. In case there are test cases that are inter-dependent or batched, mention them clearly in the test document. 9) Assign Testing Priority Assign testing priority to each test case based on the feature or component involved. This will ensure that during execution, high priority test case are executed first. 10) Provide The Expected Result & Post Conditions Include the expected result for every step of the test case. You can also include screenshots and relevant documents for reference. Mention the post conditions or things to be verified after the execution of the test case. Tips For Maintenance Of Tests Cases Change is constant for any software development project. As apps evolve, new upgrades and changes are introduced into the system. Test cases must be maintained and updated to reflect these new changes that are made. Here are a few tips for effective maintenance of test cases: 1) Review Test Cases After Documentations Get the test cases reviewed by relevant stakeholders to ensure that it is easy to understand and does not include any unnecessary steps. A periodic review and revision of test cases will help in updating changes if any that are applicable. 2) Update Existing Test Cases Before Creating New Ones Update the existing test cases as and when new changes are introduced in the app. Include updates to accommodate changes to any existing user story or functionality.
  • 9. 3) Remove Test Cases That Are Obsolete And Unnecessary Remove test cases that are no longer valid for existing app features. Exclude duplicate test cases as well from the test suite. 4) Add Relevant Test Cases As Per Requirement Create and add test cases that are required as per new upgrades or features that are introduced in the software. Add any additional test case that is relevant, including test cases for defects that were found by end users, post production. Conclusion Creation of test cases is easier with good knowledge of the technology used, the end user perspective and the objective of the software application. Investing time and effort in creation and maintenance of good test cases makes the entire testing process more effective and ensures the success of the testing plan for the software project. About 99tests 99tests is a product of Preenos Crowd Technologies Pvt Ltd. The company is funded by Infosys Co-founder, Kris Goplakrishnan, Allianz CIO, Steve Coles and Founder of Beenos, Teruhido Sato. 99tests is a crowd test automation platform for testing mobile and web apps by top notch testers. With over 20,000 crowd testers from 160+ countries, 99tests has helped over 200 clients including companies like P&G, Intuit and Security scorecard to test their software.We provide companies with economical, and effective crowd testing & automation services.​Learn how automation through 99tests can give you the insights you need to build stunning software products. Mail us at contact@99tests.com. www.99tests.com