SlideShare a Scribd company logo
1 of 13
Download to read offline
Essential Information To Be Included
In Test Cases
Introduction
Test case is a set of conditions or variables that is used to determine if an
app or an app feature works correctly as expected. 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:
Essential Fields To Be Included In 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
✓ Bugs Details column ✓ Paginations Links (optional)
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
With effective test case writing, companies can standardise the testing
process & validate the testing coverage of the application. If you have any
more tips for drafting test cases, do share them in comments below.
About 99tests
99tests is an online crowd testing platform that helps enterprises meet their
App quality goals. Our crowd testing platform provides economical, and
effective crowd-sourced testing solutions that enable individuals and
businesses to pursue excellence in software technology.
Learn more about the App testing services provided by 99tests. Visit
www.99tests.com . For more information, contact: contact@99tests.com

More Related Content

What's hot

Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808slovejoy
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingSeyed Ali Marjaie
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test caseSrilu Balla
 
Exam view dynamic recalculation files
Exam view dynamic recalculation filesExam view dynamic recalculation files
Exam view dynamic recalculation filesWilliam McIntosh
 
Test case design_the_basicsv0.4
Test case design_the_basicsv0.4Test case design_the_basicsv0.4
Test case design_the_basicsv0.4guest31fced
 
Testers Desk Presentation
Testers Desk PresentationTesters Desk Presentation
Testers Desk PresentationQuality Testing
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioLokesh Agrawal
 
Query types db connector
Query types db connectorQuery types db connector
Query types db connectorThang Loi
 
Less09 2 e_testermodule_8
Less09 2 e_testermodule_8Less09 2 e_testermodule_8
Less09 2 e_testermodule_8Suresh Mishra
 
Test scenarios for sending & receiving emails
Test scenarios for sending & receiving emailsTest scenarios for sending & receiving emails
Test scenarios for sending & receiving emailsMorpheous Algan
 
Advanced Rational Performance Tester reports
Advanced Rational Performance Tester reportsAdvanced Rational Performance Tester reports
Advanced Rational Performance Tester reportsBill Duncan
 
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESSTHE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESSVESIT/University of Mumbai
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare  jayed hossain jibonBlack box testing - SlideShare  jayed hossain jibon
Black box testing - SlideShare jayed hossain jibonJayed Hossain Jibon
 
Ivan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patternsIvan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patternsIevgenii Katsan
 
Manual Testing is Here to Stay
Manual Testing is Here to StayManual Testing is Here to Stay
Manual Testing is Here to StayOriginal Software
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningBoundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningSneha Singh
 

What's hot (20)

Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
 
Test cases
Test casesTest cases
Test cases
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
 
Exam view dynamic recalculation files
Exam view dynamic recalculation filesExam view dynamic recalculation files
Exam view dynamic recalculation files
 
Test case design_the_basicsv0.4
Test case design_the_basicsv0.4Test case design_the_basicsv0.4
Test case design_the_basicsv0.4
 
Testers Desk Presentation
Testers Desk PresentationTesters Desk Presentation
Testers Desk Presentation
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test Scenario
 
Query types db connector
Query types db connectorQuery types db connector
Query types db connector
 
Less09 2 e_testermodule_8
Less09 2 e_testermodule_8Less09 2 e_testermodule_8
Less09 2 e_testermodule_8
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test scenarios for sending & receiving emails
Test scenarios for sending & receiving emailsTest scenarios for sending & receiving emails
Test scenarios for sending & receiving emails
 
Advanced Rational Performance Tester reports
Advanced Rational Performance Tester reportsAdvanced Rational Performance Tester reports
Advanced Rational Performance Tester reports
 
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESSTHE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
 
Amazon search test case document
Amazon search test case documentAmazon search test case document
Amazon search test case document
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare  jayed hossain jibonBlack box testing - SlideShare  jayed hossain jibon
Black box testing - SlideShare jayed hossain jibon
 
Ivan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patternsIvan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patterns
 
Manual Testing is Here to Stay
Manual Testing is Here to StayManual Testing is Here to Stay
Manual Testing is Here to Stay
 
Verfication and validation of simulation models
Verfication and validation of simulation modelsVerfication and validation of simulation models
Verfication and validation of simulation models
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningBoundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioning
 

Similar to Essential information to be included in test cases

Best practices for test case creation & maintenance
Best practices for test case creation & maintenanceBest practices for test case creation & maintenance
Best practices for test case creation & maintenance99tests
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test CasesVivekRajawat9
 
Automation frameworks
Automation frameworksAutomation frameworks
Automation frameworksVishwanath KC
 
AJRA Test Strategy Discussion
AJRA Test Strategy DiscussionAJRA Test Strategy Discussion
AJRA Test Strategy Discussionajrhem
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_moduleSuresh Mishra
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutionsgavhays
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven TestingHarish MS
 
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
 
Dakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesignDakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesignDakiry
 
RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG Greg.Helton
 
Explain functional testing and its types
Explain functional testing and its typesExplain functional testing and its types
Explain functional testing and its typesConcetto Labs
 
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginnersSriman Eshwar
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test ScenariosSneha Singh
 
Data driven testing
Data driven testingData driven testing
Data driven testingĐăng Minh
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769subhasis100
 

Similar to Essential information to be included in test cases (20)

Best practices for test case creation & maintenance
Best practices for test case creation & maintenanceBest practices for test case creation & maintenance
Best practices for test case creation & maintenance
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
 
Automation frameworks
Automation frameworksAutomation frameworks
Automation frameworks
 
Testcase
TestcaseTestcase
Testcase
 
AJRA Test Strategy Discussion
AJRA Test Strategy DiscussionAJRA Test Strategy Discussion
AJRA Test Strategy Discussion
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
 
Test case development
Test case developmentTest case development
Test case development
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven 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
 
Dakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesignDakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesign
 
RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG
 
software testing
software testingsoftware testing
software testing
 
Test cases
Test casesTest cases
Test cases
 
Explain functional testing and its types
Explain functional testing and its typesExplain functional testing and its types
Explain functional testing and its types
 
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners
 
PEOPLESOFT PTF
PEOPLESOFT PTFPEOPLESOFT PTF
PEOPLESOFT PTF
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
 
Data driven testing
Data driven testingData driven testing
Data driven testing
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769
 

More from 99tests

Restoration Hardware Case Study
Restoration Hardware Case StudyRestoration Hardware Case Study
Restoration Hardware Case Study99tests
 
BHIM App Case Study
BHIM App Case StudyBHIM App Case Study
BHIM App 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
 
Future Of Software Testing
Future Of Software TestingFuture Of Software Testing
Future Of Software Testing99tests
 
99tests Corporate Brochure 2017
99tests Corporate Brochure 201799tests Corporate Brochure 2017
99tests Corporate Brochure 201799tests
 
Best Practices In Exploratory Testing
Best Practices In Exploratory TestingBest Practices In Exploratory Testing
Best Practices In Exploratory Testing99tests
 
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
 

More from 99tests (20)

Restoration Hardware Case Study
Restoration Hardware Case StudyRestoration Hardware Case Study
Restoration Hardware Case Study
 
BHIM App Case Study
BHIM App Case StudyBHIM App Case Study
BHIM App 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
 
Future Of Software Testing
Future Of Software TestingFuture Of Software Testing
Future Of Software Testing
 
99tests Corporate Brochure 2017
99tests Corporate Brochure 201799tests Corporate Brochure 2017
99tests Corporate Brochure 2017
 
Best Practices In Exploratory Testing
Best Practices In Exploratory TestingBest Practices In Exploratory Testing
Best Practices In Exploratory Testing
 
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
 

Recently uploaded

BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 

Recently uploaded (20)

BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 

Essential information to be included in test cases

  • 1. Essential Information To Be Included In Test Cases
  • 2. Introduction Test case is a set of conditions or variables that is used to determine if an app or an app feature works correctly as expected. 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:
  • 3. Essential Fields To Be Included In 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.
  • 4. 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.
  • 5. 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.
  • 6. 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”.
  • 7. 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
  • 8. 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
  • 9. 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
  • 10. 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
  • 11. 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 ✓ Bugs Details column ✓ Paginations Links (optional) 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.
  • 12. 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 With effective test case writing, companies can standardise the testing process & validate the testing coverage of the application. If you have any more tips for drafting test cases, do share them in comments below.
  • 13. About 99tests 99tests is an online crowd testing platform that helps enterprises meet their App quality goals. Our crowd testing platform provides economical, and effective crowd-sourced testing solutions that enable individuals and businesses to pursue excellence in software technology. Learn more about the App testing services provided by 99tests. Visit www.99tests.com . For more information, contact: contact@99tests.com