SlideShare a Scribd company logo
1 of 7
Download to read offline
Test Case:-​ ​A test case is a set of conditions under which a tester will determine whether an
application, software system or one of its features is working as it was originally established for
it to do.
-------------------------------------------------------------------------------------------------------
Why do we write test cases:-
There are a few reasons why you need to design and write out your test cases:
â—Ź Tracking your test coverage:
Let’s consider your system under test as a Disneyland park, which you want to explore. Of
course, you can just buy tickets and explore the park as you wish. While it’s fun to do that, there
are great chances that you will miss interesting places. In this case, all you need is a map of the
park. Similar in your project, you need a map to know what you need to test, what you have
tested, what you don’t need to test.
â—Ź Maintain consistency:
Let’s say you can brainstorm 100 test cases to test your system, but you don’t write them out.
You memorize them. Unless you are a genius, there’s no way to remember all these test cases
and things entailed such input data, step to perform the test, where to look at the result, what’s
expected. If you have a written test cases, you don’t have to rely on your memory to do this test
to maintain consistency.
â—Ź Reusability:
Now you are the only tester in the project. What if your manager added another tester in your
project and your manager wanted him to perform the same test as you did. What you simply
need to do is to give him your well-written test cases and he can follow these exact tests to
perform the test. It’s as simple as that.
â—Ź Easy to automate:
Also, if you are planning to do automated test in your project, these detailed test cases are
perfect inputs for your test automation.
---------------------------------------------------------------------------------------------------
When we should start writing Test Case:-
When SRS is prepared by the business analyst he will send the drafts to testers and developers
for review. After reviewing testers and developers will send their comments and after analysing
them the SRS is modified. once the SRS is freezed TL prepares the TEST PLAN and after that
testers start writing test cases. i..e testers start writing test cases when the requirement phase
itself.
It will depends...But mostly..When the requirement specifications are completed. We can start
writing Test Cases in parallel with Design phase itself.(but make sure u understand the
requirements correctly.
----------------------------------------------------------------------------------------------------
Test case Types:-
There are two types of Test case:- ​1.​ Formal Test cases
2. ​Informal Test cases
Formal test cases:- ​A formal test case is where a test case is designed with a certain standard
format so that it will be user-friendly to understand and all the possible tests will be covered.
â—Ź Every requirement will have the two types of testing, Positive testing and Negative
testing. These two will play a vital role in completing a testing requirement satisfactorily.
â—Ź As a tester we need to track between the requirements and the test case where this
process is called a Traceability matrix.
â—Ź A formal test case will have a known input along with an expected output.
â—Ź It is also common that the known input should test a pre-condition and the expected
output should test the post condition.
Informal test cases :- ​An informal test case is a test case that is not at all designed during the
execution of the testing but the results and activities will be made as a report once the process
is finished. In these informal test cases the tester thinking level is complex and analytical. They
will test it with a specified number of possibilities to test a specific scenario. There are no
restrictions for testing except the timing given for testing. We can say an informal test case will
be totally different from the formal test case format.
------------------------------------------------------------------------------------------------------
Positive Test case:- ​Checking for valid values only.
Negative Test Case:-​ Checking for invalid values.
------------------------------------------------------------------------------------------------------
what documents need to write test case:-
â—Ź FRS (Functional Requirement Specification)
â—Ź SRS (System Requirement Specification)
● You can take the help of ​Use Case.
â—Ź Test scenario
------------------------------------------------------------------------------------------------------
Use Case:- ​A ​use case is a software and system engineering term that describes how a user
uses a system to accomplish a particular goal. Use case diagram is given below:-
Create a use case index​:-
It will serve as a master inventory to help write effective use cases for the requirements phase of
the project.
------------------------------------------------------------------------------------------------------
Test Scenario:- ​Test scenario is created from Use case, FRS, BRS.
​Test Scenarios are just a flow of the application.
e.g. 1. Filling up all the fields on the form --> click on Ok button --> Next screen
1. Filling up all the fields on the form --> click on Cancel button --> All the will be erased.
------------------------------------------------------------------------------------------------------
Difference between Test cases and Test scenario​:- A ​Test Scenario is what to be
tested, and a ​Test Case is how to be tested.
------------------------------------------------------------------------------------------------------
Question:- ​Write the test case of Pen?
Answer​:-
1. Verify the color of the pen.
2. Check ​GUI testing​ means logo of the pen maker.
3. Check ​Usability testing​ means grip of the pen.
4. Verify whether the pen is ballpoint pen or ink pen.
5. Check ​Integration Testing​ means cap of the pen should easily fit beside the body of the pen.
6. Check pen should be continuously in writing mode.
Some Functional test cases for pen​:
1. Check whether it writes on paper or not.
2. Verify whether the ink on the paper is belongs with the similar color as what we see in the refill.
Performance and load test cases for pen​:
1. Verify how it performs when writing on wet paper.
2. Verify how it performs when writing on rough paper.
3. Verify how it performs when writing on hand because we occasionally do that
4. Check load test means when pen is pressed very hard against the tough surface then pen refill should
not come out of the pen.
Negative test cases about pen​:
1. Verify whether ink is available or not.
2. Check if ink is available, than the pen does not write on the paper.
3. Verify by bend the refill at multiple ends and then try to write with it.
4. Verify by dip the pen always into the water and then write it again.
5. Check whether it write on leaves or not.
Additional test cases for pen​:
1. Check ​usability testing​ means test by writing on a section of paper, Examine if you can write
smoothly. It should not be writing and stopping among (with) breaks.
2. Check ​capability or reliability testing​ means Test the writing capacity (the amount of writing that is
possible from a single refill) of the pen.
3. Check ​Robustness testing​ means Test wherever you can carry the pen in to your shirt and pent pocket
using its cap. The cap distension should be solid enough to grip your pocket.
4. Check ​Compatibility testing​ means Test by writing on distinct types of surfaces like: rough paper,
packing material, glass, leather, cotton, wood, plastic, metals like aluminum or iron, polythene sheet etc.
--------------------------------------------------------------------------------------------------------
Question:- ​Test case and Test scenario of a log-in Button
Answer​:-
Test Scenario ID Test Scenario / Test Objective No. Of Test Cases
TS_001 User is Successfully able to log-in in
the Student Panel
7
TS_002 User is not able to log-in in the
Student Panel
14
Test Case is given below:-
Thank you for your precious time.
For any Feedback or Query, kindly contact on (lokeshapj@gmail.com)

More Related Content

What's hot

Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Interview questions for manual testing technology.
Interview questions for manual testing technology.Interview questions for manual testing technology.
Interview questions for manual testing technology.Vinay Agnihotri
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Processguest1f2740
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | EdurekaEdureka!
 
Strategies For Software Test Documentation
Strategies For Software Test Documentation Strategies For Software Test Documentation
Strategies For Software Test Documentation Vishwak Solution
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTsuhasreddy1
 
Sanity testing and smoke testing
Sanity testing and smoke testingSanity testing and smoke testing
Sanity testing and smoke testingMUHAMMAD FARHAN ASLAM
 
Test case design
Test case designTest case design
Test case design99pillar
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case DesignSelvi Vts
 
3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdf
3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdf3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdf
3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdfsangeeta borde
 
Complete guide to manual testing@uma
Complete guide to manual  testing@umaComplete guide to manual  testing@uma
Complete guide to manual testing@umaUma Sapireddy
 
scenario testing in software testing
 scenario testing in software testing scenario testing in software testing
scenario testing in software testingdurgaaarthi
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentationBelatrix Software
 
Manual testing real time questions by subbu
Manual testing real time questions by subbuManual testing real time questions by subbu
Manual testing real time questions by subbupalla subrahmanyam
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentationCarl Bruiners
 

What's hot (20)

Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Interview questions for manual testing technology.
Interview questions for manual testing technology.Interview questions for manual testing technology.
Interview questions for manual testing technology.
 
Test cases
Test casesTest cases
Test cases
 
Manual testing
Manual testingManual testing
Manual testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | Edureka
 
Strategies For Software Test Documentation
Strategies For Software Test Documentation Strategies For Software Test Documentation
Strategies For Software Test Documentation
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Sanity testing and smoke testing
Sanity testing and smoke testingSanity testing and smoke testing
Sanity testing and smoke testing
 
Test case design
Test case designTest case design
Test case design
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdf
3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdf3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdf
3. Test Scenarios & Test Cases with Excel Sheet Format (1).pdf
 
Test planning
Test planningTest planning
Test planning
 
Complete guide to manual testing@uma
Complete guide to manual  testing@umaComplete guide to manual  testing@uma
Complete guide to manual testing@uma
 
scenario testing in software testing
 scenario testing in software testing scenario testing in software testing
scenario testing in software testing
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentation
 
Manual testing real time questions by subbu
Manual testing real time questions by subbuManual testing real time questions by subbu
Manual testing real time questions by subbu
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentation
 

Viewers also liked

Mattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingMattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingTEST Huddle
 
Use cases
Use casesUse cases
Use casesAmjad Adis
 
Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...
Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...
Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...The University of Western Australia
 
Tempest scenariotests 20140512
Tempest scenariotests 20140512Tempest scenariotests 20140512
Tempest scenariotests 20140512Masayuki Igawa
 
Writing good test plan and writing good tests
Writing good test plan and writing good testsWriting good test plan and writing good tests
Writing good test plan and writing good testsQingsong Yao
 
Role+Of+Testing+In+Sdlc
Role+Of+Testing+In+SdlcRole+Of+Testing+In+Sdlc
Role+Of+Testing+In+Sdlcmahendra singh
 
Embedded software development using BDD
Embedded software development using BDDEmbedded software development using BDD
Embedded software development using BDDItamar Hassin
 
Requirements validation techniques (rv ts) practiced in industry studies of...
Requirements validation techniques (rv ts) practiced in industry   studies of...Requirements validation techniques (rv ts) practiced in industry   studies of...
Requirements validation techniques (rv ts) practiced in industry studies of...JayabalanRajalakshmi
 
Software requirement verification & validation
Software requirement verification & validationSoftware requirement verification & validation
Software requirement verification & validationAbdul Basit
 
User Scenario based UI testing with KIF
User Scenario based UI testing with KIFUser Scenario based UI testing with KIF
User Scenario based UI testing with KIFYusuke Kita
 
Test Case Design
Test Case DesignTest Case Design
Test Case Designacatalin
 
RAD Model & Prototyping Of Software Engineering
RAD Model & Prototyping Of Software EngineeringRAD Model & Prototyping Of Software Engineering
RAD Model & Prototyping Of Software EngineeringUmeed Charity
 
Suman saha data architect
Suman saha data architectSuman saha data architect
Suman saha data architectsuman0221
 
Resume (1)
Resume (1)Resume (1)
Resume (1)v brahmaiah
 
Dhamotharan dba
Dhamotharan dbaDhamotharan dba
Dhamotharan dbaDHAMOTHARAN S
 

Viewers also liked (17)

Bugzilla
BugzillaBugzilla
Bugzilla
 
Mattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingMattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario Testing
 
Use cases
Use casesUse cases
Use cases
 
Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...
Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...
Scenario Testing and Sensitivity Analysis for 3-D Kinematic Models and Geophy...
 
Tempest scenariotests 20140512
Tempest scenariotests 20140512Tempest scenariotests 20140512
Tempest scenariotests 20140512
 
Writing good test plan and writing good tests
Writing good test plan and writing good testsWriting good test plan and writing good tests
Writing good test plan and writing good tests
 
Role+Of+Testing+In+Sdlc
Role+Of+Testing+In+SdlcRole+Of+Testing+In+Sdlc
Role+Of+Testing+In+Sdlc
 
Embedded software development using BDD
Embedded software development using BDDEmbedded software development using BDD
Embedded software development using BDD
 
Requirements validation techniques (rv ts) practiced in industry studies of...
Requirements validation techniques (rv ts) practiced in industry   studies of...Requirements validation techniques (rv ts) practiced in industry   studies of...
Requirements validation techniques (rv ts) practiced in industry studies of...
 
Software requirement verification & validation
Software requirement verification & validationSoftware requirement verification & validation
Software requirement verification & validation
 
User Scenario based UI testing with KIF
User Scenario based UI testing with KIFUser Scenario based UI testing with KIF
User Scenario based UI testing with KIF
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
RAD Model & Prototyping Of Software Engineering
RAD Model & Prototyping Of Software EngineeringRAD Model & Prototyping Of Software Engineering
RAD Model & Prototyping Of Software Engineering
 
Suman saha data architect
Suman saha data architectSuman saha data architect
Suman saha data architect
 
Resume (1)
Resume (1)Resume (1)
Resume (1)
 
Medikonda_CRM_Architect
Medikonda_CRM_ArchitectMedikonda_CRM_Architect
Medikonda_CRM_Architect
 
Dhamotharan dba
Dhamotharan dbaDhamotharan dba
Dhamotharan dba
 

Similar to Test Case, Use Case and Test Scenario

Kunal Puranik - Manual and Automation Testing Expert(2)
Kunal Puranik -  Manual and Automation Testing Expert(2)Kunal Puranik -  Manual and Automation Testing Expert(2)
Kunal Puranik - Manual and Automation Testing Expert(2)Kunal Puranik
 
Manual testing
Manual testingManual testing
Manual testingMehul Chauhan
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_designTestingGeeks
 
Unit Test 2 Gr 10 C D.docx
Unit Test 2 Gr 10 C D.docxUnit Test 2 Gr 10 C D.docx
Unit Test 2 Gr 10 C D.docxAndrew Raj
 
Qtp8 student handboo
Qtp8 student handbooQtp8 student handboo
Qtp8 student handbooJenny Nguyen
 
An Introduction to Saville Analysis Aptitude
An Introduction to Saville Analysis Aptitude An Introduction to Saville Analysis Aptitude
An Introduction to Saville Analysis Aptitude JobTestPrep
 
Toronto alm v1
Toronto alm v1Toronto alm v1
Toronto alm v1PowerStory
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbjeyasrig
 
Comm 102 Motivated Minds/newtonhelp.com
Comm 102 Motivated Minds/newtonhelp.comComm 102 Motivated Minds/newtonhelp.com
Comm 102 Motivated Minds/newtonhelp.comamaranthbeg45
 
Comm 102 Education is Power/newtonhelp.com
Comm 102 Education is Power/newtonhelp.comComm 102 Education is Power/newtonhelp.com
Comm 102 Education is Power/newtonhelp.comamaranthbeg65
 
Comm 102 Your world/newtonhelp.com
Comm 102 Your world/newtonhelp.comComm 102 Your world/newtonhelp.com
Comm 102 Your world/newtonhelp.comamaranthbeg85
 
Comm 102 Extraordinary Success/newtonhelp.com
Comm 102 Extraordinary Success/newtonhelp.comComm 102 Extraordinary Success/newtonhelp.com
Comm 102 Extraordinary Success/newtonhelp.comamaranthbeg105
 
System Test Plan for Accounts Payable System
System Test Plan for Accounts Payable SystemSystem Test Plan for Accounts Payable System
System Test Plan for Accounts Payable SystemJenny Dandan Cai
 
Assignment 1Stock ManagementThe goal here is to write some sof.docx
Assignment 1Stock ManagementThe goal here is to write some sof.docxAssignment 1Stock ManagementThe goal here is to write some sof.docx
Assignment 1Stock ManagementThe goal here is to write some sof.docxsalmonpybus
 
6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhar6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhardeepikakaler1
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhianadeepikakaler1
 
6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhar6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhardeepikakaler1
 

Similar to Test Case, Use Case and Test Scenario (20)

Kunal Puranik - Manual and Automation Testing Expert(2)
Kunal Puranik -  Manual and Automation Testing Expert(2)Kunal Puranik -  Manual and Automation Testing Expert(2)
Kunal Puranik - Manual and Automation Testing Expert(2)
 
Kalai
KalaiKalai
Kalai
 
Manual testing
Manual testingManual testing
Manual testing
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_design
 
Unit Test 2 Gr 10 C D.docx
Unit Test 2 Gr 10 C D.docxUnit Test 2 Gr 10 C D.docx
Unit Test 2 Gr 10 C D.docx
 
Test design
Test designTest design
Test design
 
Qtp8 student handboo
Qtp8 student handbooQtp8 student handboo
Qtp8 student handboo
 
An Introduction to Saville Analysis Aptitude
An Introduction to Saville Analysis Aptitude An Introduction to Saville Analysis Aptitude
An Introduction to Saville Analysis Aptitude
 
Toronto alm v1
Toronto alm v1Toronto alm v1
Toronto alm v1
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 
L software testing
L   software testingL   software testing
L software testing
 
Comm 102 Motivated Minds/newtonhelp.com
Comm 102 Motivated Minds/newtonhelp.comComm 102 Motivated Minds/newtonhelp.com
Comm 102 Motivated Minds/newtonhelp.com
 
Comm 102 Education is Power/newtonhelp.com
Comm 102 Education is Power/newtonhelp.comComm 102 Education is Power/newtonhelp.com
Comm 102 Education is Power/newtonhelp.com
 
Comm 102 Your world/newtonhelp.com
Comm 102 Your world/newtonhelp.comComm 102 Your world/newtonhelp.com
Comm 102 Your world/newtonhelp.com
 
Comm 102 Extraordinary Success/newtonhelp.com
Comm 102 Extraordinary Success/newtonhelp.comComm 102 Extraordinary Success/newtonhelp.com
Comm 102 Extraordinary Success/newtonhelp.com
 
System Test Plan for Accounts Payable System
System Test Plan for Accounts Payable SystemSystem Test Plan for Accounts Payable System
System Test Plan for Accounts Payable System
 
Assignment 1Stock ManagementThe goal here is to write some sof.docx
Assignment 1Stock ManagementThe goal here is to write some sof.docxAssignment 1Stock ManagementThe goal here is to write some sof.docx
Assignment 1Stock ManagementThe goal here is to write some sof.docx
 
6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhar6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhar
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana
 
6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhar6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhar
 

Recently uploaded

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
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
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
 
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
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
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
 
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.
 
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
 
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
 
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
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 

Recently uploaded (20)

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...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
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
 
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
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
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
 
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...
 
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...
 
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...
 
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...
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 

Test Case, Use Case and Test Scenario

  • 1. Test Case:-​ ​A test case is a set of conditions under which a tester will determine whether an application, software system or one of its features is working as it was originally established for it to do. ------------------------------------------------------------------------------------------------------- Why do we write test cases:- There are a few reasons why you need to design and write out your test cases: â—Ź Tracking your test coverage: Let’s consider your system under test as a Disneyland park, which you want to explore. Of course, you can just buy tickets and explore the park as you wish. While it’s fun to do that, there are great chances that you will miss interesting places. In this case, all you need is a map of the park. Similar in your project, you need a map to know what you need to test, what you have tested, what you don’t need to test. â—Ź Maintain consistency: Let’s say you can brainstorm 100 test cases to test your system, but you don’t write them out. You memorize them. Unless you are a genius, there’s no way to remember all these test cases and things entailed such input data, step to perform the test, where to look at the result, what’s expected. If you have a written test cases, you don’t have to rely on your memory to do this test to maintain consistency. â—Ź Reusability: Now you are the only tester in the project. What if your manager added another tester in your project and your manager wanted him to perform the same test as you did. What you simply need to do is to give him your well-written test cases and he can follow these exact tests to perform the test. It’s as simple as that. â—Ź Easy to automate: Also, if you are planning to do automated test in your project, these detailed test cases are perfect inputs for your test automation. --------------------------------------------------------------------------------------------------- When we should start writing Test Case:- When SRS is prepared by the business analyst he will send the drafts to testers and developers for review. After reviewing testers and developers will send their comments and after analysing them the SRS is modified. once the SRS is freezed TL prepares the TEST PLAN and after that testers start writing test cases. i..e testers start writing test cases when the requirement phase itself.
  • 2. It will depends...But mostly..When the requirement specifications are completed. We can start writing Test Cases in parallel with Design phase itself.(but make sure u understand the requirements correctly. ---------------------------------------------------------------------------------------------------- Test case Types:- There are two types of Test case:- ​1.​ Formal Test cases 2. ​Informal Test cases Formal test cases:- ​A formal test case is where a test case is designed with a certain standard format so that it will be user-friendly to understand and all the possible tests will be covered. â—Ź Every requirement will have the two types of testing, Positive testing and Negative testing. These two will play a vital role in completing a testing requirement satisfactorily. â—Ź As a tester we need to track between the requirements and the test case where this process is called a Traceability matrix. â—Ź A formal test case will have a known input along with an expected output. â—Ź It is also common that the known input should test a pre-condition and the expected output should test the post condition. Informal test cases :- ​An informal test case is a test case that is not at all designed during the execution of the testing but the results and activities will be made as a report once the process is finished. In these informal test cases the tester thinking level is complex and analytical. They will test it with a specified number of possibilities to test a specific scenario. There are no restrictions for testing except the timing given for testing. We can say an informal test case will be totally different from the formal test case format. ------------------------------------------------------------------------------------------------------ Positive Test case:- ​Checking for valid values only. Negative Test Case:-​ Checking for invalid values. ------------------------------------------------------------------------------------------------------ what documents need to write test case:- â—Ź FRS (Functional Requirement Specification) â—Ź SRS (System Requirement Specification) â—Ź You can take the help of ​Use Case. â—Ź Test scenario ------------------------------------------------------------------------------------------------------ Use Case:- ​A ​use case is a software and system engineering term that describes how a user uses a system to accomplish a particular goal. Use case diagram is given below:-
  • 3. Create a use case index​:- It will serve as a master inventory to help write effective use cases for the requirements phase of the project. ------------------------------------------------------------------------------------------------------ Test Scenario:- ​Test scenario is created from Use case, FRS, BRS. ​Test Scenarios are just a flow of the application. e.g. 1. Filling up all the fields on the form --> click on Ok button --> Next screen 1. Filling up all the fields on the form --> click on Cancel button --> All the will be erased. ------------------------------------------------------------------------------------------------------ Difference between Test cases and Test scenario​:- A ​Test Scenario is what to be tested, and a ​Test Case is how to be tested. ------------------------------------------------------------------------------------------------------ Question:- ​Write the test case of Pen?
  • 4. Answer​:- 1. Verify the color of the pen. 2. Check ​GUI testing​ means logo of the pen maker. 3. Check ​Usability testing​ means grip of the pen. 4. Verify whether the pen is ballpoint pen or ink pen. 5. Check ​Integration Testing​ means cap of the pen should easily fit beside the body of the pen. 6. Check pen should be continuously in writing mode. Some Functional test cases for pen​: 1. Check whether it writes on paper or not. 2. Verify whether the ink on the paper is belongs with the similar color as what we see in the refill. Performance and load test cases for pen​: 1. Verify how it performs when writing on wet paper. 2. Verify how it performs when writing on rough paper. 3. Verify how it performs when writing on hand because we occasionally do that 4. Check load test means when pen is pressed very hard against the tough surface then pen refill should not come out of the pen. Negative test cases about pen​: 1. Verify whether ink is available or not. 2. Check if ink is available, than the pen does not write on the paper. 3. Verify by bend the refill at multiple ends and then try to write with it. 4. Verify by dip the pen always into the water and then write it again. 5. Check whether it write on leaves or not. Additional test cases for pen​: 1. Check ​usability testing​ means test by writing on a section of paper, Examine if you can write smoothly. It should not be writing and stopping among (with) breaks.
  • 5. 2. Check ​capability or reliability testing​ means Test the writing capacity (the amount of writing that is possible from a single refill) of the pen. 3. Check ​Robustness testing​ means Test wherever you can carry the pen in to your shirt and pent pocket using its cap. The cap distension should be solid enough to grip your pocket. 4. Check ​Compatibility testing​ means Test by writing on distinct types of surfaces like: rough paper, packing material, glass, leather, cotton, wood, plastic, metals like aluminum or iron, polythene sheet etc. -------------------------------------------------------------------------------------------------------- Question:- ​Test case and Test scenario of a log-in Button Answer​:- Test Scenario ID Test Scenario / Test Objective No. Of Test Cases TS_001 User is Successfully able to log-in in the Student Panel 7 TS_002 User is not able to log-in in the Student Panel 14 Test Case is given below:-
  • 6.
  • 7. Thank you for your precious time. For any Feedback or Query, kindly contact on (lokeshapj@gmail.com)