SlideShare a Scribd company logo
Software Testing
gksha.ittraining@gmail.com
GKSHA IT Solutions
The Software Development Life Cycle
Requirement
Analysis
Design
CodingTesting
Implementation
 Software Requirement Specification
 Design Specification
 Test Strategy
 Test Plan
gksha.ittraining@gmail.com
GKSHA IT Solutions
Understanding Testing
Testing
Analyzing
Review
Verifying
Validating
Testing
Manual Automated
gksha.ittraining@gmail.com
GKSHA IT Solutions
Testing Objectives
• Testing activity is performed to find
defects in the softwareDetect Defects
• Testing activity is performed to check
if the software meets the specified
requirements
Determine
specified
Requirements are
met
• Testing activity is performed to test the
performance of the application.
Test the
Performance
gksha.ittraining@gmail.com
GKSHA IT Solutions
Testing Principles
 Testing shows presence of defects
 Exhaustive testing is impossible
 Early Testing
 Defect Clustering
 Pesticide paradox
 Testing is context dependent
 Absence of errors fallacy
gksha.ittraining@gmail.com
GKSHA IT Solutions
Software Testing Life Cycle
Test Planning
Test Analysis and
Design
Test Implementation
and Execution
Evaluating Exit
Criteria and Reporting
Test Closure Activities
 Testing Objectives are defined
 Test Case designing
 Identifying the Test Data
 Identifying the environment,
Infrastructure and Tools
 Test Executing
 Test Results
 Logging Defects
 Re-testing
 Verify if more testing is required
 Test Summary Report
 Test Archive
gksha.ittraining@gmail.com
GKSHA IT Solutions
Test Types
Test Type
Functional
Testing
Non
Functional
Testing
Confirmation
Testing
Regression
Testing
Testing the
functionality
against the
software
Testing the
behavioral
characteristic of the
software
Retesting No new defects are
introduced in the
process of fixing the
earlier identified
defects
Black Box
gksha.ittraining@gmail.com
GKSHA IT Solutions
Test Plan
Test Plan describes
 Assign mitigation and contingencies to the identified risks
 Decide scope of testing according to level of risk
 Features to be tested
 Features not to be tested
 Tasks to be performed
 The environment in which testing is to be done
 Test Schedule
 Test Execution
Test Plan
Scope ResourcesApproach Schedule
gksha.ittraining@gmail.com
GKSHA IT Solutions
Test Case
Expected Output Actual Result=
A test case is a document that contains detailed instructions for testing the
functionality of a software application
A Robust Test case should be
 Independent to meet specific requirements
 Easily understandable during testing
 Free from spelling and grammatical mistakes.
 Able to cover at least one functionality or requirement
 Able to uncover bugs
Test Components
 Test Case Name  Objectives  Test Case ID
 Prerequisites  Actions  Expected Result
 Actual Result  Status  General Remarks
gksha.ittraining@gmail.com
GKSHA IT Solutions
Black Box Test Design Technique
Boundary
Value Analysis
Equivalence
partitioning
Error
Guessing
State
Transition
Syntax Testing
Cause effect
Graphic
 Represents a set of valid and invalid conditions
 Test condition which give similar results are grouped under one partition
 Number of test cases is reduced considerably
 Identifies bugs around the boundaries.
 Takes into account output specifications when deriving test cases
 Used to test the behavior of the application where the bug is most likely to occur
 ADHOC method to identify tests that are likely to expose bugs.
 Enables to make guess about bugs that are likely to be present in the application
 Test Activities based on areas that are not covered by formal design techniques.
 Enables you to test the transition from one state to another
 Identifies the events which causes the transition and specifies Actions that result
from the transition
 Used to design test cases for software applications based on the syntax of the input.
 Test the application with different set of input values
 Used to identify possible causes of a problem by using the cause effect diagram
 Analyze Cause of the problem
 Identify the source of bugs and Observe the effects of the problem.
gksha.ittraining@gmail.com
GKSHA IT Solutions
Execute a Test Case
Test
Log
Pass BlockedFail
Attributes of Test Log
 Test log identifier  Test Description  Test Case ID
 Execution Description  Actual Result  Status
 Environmental Information  Anomalous Events  Incident Identifier
 Name of Tester  Date of testing  General Comments
gksha.ittraining@gmail.com
GKSHA IT Solutions
Test Summary Report
Parameters of Report
 Number of Modules tested
 Number of test cases passed or failed
 Number of bugs identified
Precondition of Test Summary Report
 Test Log to be completed
 Testing activities should to be completed
 Testing execution should be completed
Benefits of Test Summary Report
 Effectiveness of testing effort
 Quality of application
 Test Coverage
 Decide any change
 Reference to lessons learned
gksha.ittraining@gmail.com
GKSHA IT Solutions
Defect
Defects are events that occurred during text execution and require
investigation.
New Open Assigned Resolved Verified Closed
Defer
Reject
ReopenDefect Report
 Defect ID
 Defect Summary
 Actual Result
 Expected Result
 Date and Time
 Supporting Evidence
 Potential Impact (Severity & Priority)
 Found By
 Assigned To
 Status
gksha.ittraining@gmail.com
GKSHA IT Solutions
Test Tools
Functional
Testing Tools
Software
Functionality
Software Requirement
Specifications
Used mainly for regression testing
Performance
Testing Tools
Speed Effectiveness
Load
Stress
Features of Performance Test Tool
 Generating Load
 Measuring timing of transactions
 Measuring average response time
 Creating graphs and charts
E.g. QTP, Winrunner
E.g. Load Runner,
gksha.ittraining@gmail.com
GKSHA IT Solutions
Test Management Tool
Requirement
Analysis
Design
Coding
Testing
Implementation
Test
Management
Tool
 Test Case Management
 Test Schedule
 Managing Test effort
 Traceability
 Test report
 Defect Management
E.g. HP Quality Center
gksha.ittraining@gmail.com
GKSHA IT Solutions
Assessment
gksha.ittraining@gmail.com
GKSHA IT Solutions
Question 1
Which is the correct principle of testing?
a. Testing is context independent.
b. Testing shows presence of defects.
c. Exhaustive testing is possible.
d. Defects are evenly distributed across the modules of software.
Answer: Testing shows presence of defects
gksha.ittraining@gmail.com
Question 2
Which is the first phase of the SDLC?
a. Development
b. Testing
c. Analysis
d. Design
Answer: Analysis
gksha.ittraining@gmail.com
Question 3
Which level of testing detects defects in the integration of components?
a. Alpha testing
b. Component integration testing
c. System integration testing
d. Beta testing
Answer: Component integration testing
gksha.ittraining@gmail.com
Question 4
True or False? If a software application has bugs, the expected and the
actual test result will be different.
a. True
b. False
Answer: True
gksha.ittraining@gmail.com
Question 5
Which attribute of a test log is used to describe the sequence of steps or
actions to execute a test log?
a. Execution description
b. Test log identifier
c. Test description
d. Anomalous events
Answer: Execution description
gksha.ittraining@gmail.com
Question 6
Which component of the test case provides a detailed description of every
step of execution?
a. Actual result
b. Expected result
c. Remarks
d. Action
Answer: Action
gksha.ittraining@gmail.com
Question 7
How many test cases will you need to achieve complete coverage on a
branch?
a. One
b. Two
c. Four
d. Three
Answer: Two
gksha.ittraining@gmail.com
Question 8
Risk priority helps you determine:
a. Size of the testing team.
b. Need for regression testing.
c. Extent of testing required.
d. Requirements for a testing tool.
Answer: Extent of testing required
gksha.ittraining@gmail.com
Question 9
True or False? Before creating a test summary report, you need to ensure
that each test case is given a test status such as pass, fail, or blocked.
a. True
b. False
Answer: True
gksha.ittraining@gmail.com
Question 10
Which testing type will you perform to ensure that no new defects are
introduced in a new build of the software?
a. Component testing
b. Confirmation testing
c. Regression testing
d. Acceptance testing
Answer: Regression testing
gksha.ittraining@gmail.com
Question 11
True or False? White-box testing techniques are used at acceptance level
testing.
a. True
b. False
Answer: False
gksha.ittraining@gmail.com
Question 12
True or False? If software is delivered to the customer with defects in it,
then it is a product risk.
a. True
b. False
Answer: True
gksha.ittraining@gmail.com
Question 13
Which test case design technique is used to separate groups of input
conditions to obtain the same kind of output?
a. Equivalence partitioning
b. State transition testing
c. Error guessing
d. Boundary value analysis
Answer: Equivalence partitioning
gksha.ittraining@gmail.com
Question 14
What is the importance of test planning?
a. To prepare test documents.
b. To create a matrix for measuring test results.
c. To define the testing approach.
d. To evaluate exit criteria.
Answer: To define the testing approach.
gksha.ittraining@gmail.com
For any QA training and support
related discussion, mail me at
gksha.ittraining@gmail.com
gksha.ittraining@gmail.com
GKSHA IT Solutions

More Related Content

PPTX
Software Testing 2/5
PDF
Software testing
PPT
Testing
PPT
ISTQB, ISEB Lecture Notes- 2
PPTX
Unit testing & TDD concepts with best practice guidelines.
PPT
Software Testing Process
PDF
Chapter 8 software testing
Software Testing 2/5
Software testing
Testing
ISTQB, ISEB Lecture Notes- 2
Unit testing & TDD concepts with best practice guidelines.
Software Testing Process
Chapter 8 software testing

What's hot (18)

PDF
Istqb intro with question answer for exam preparation
PPTX
Software testing methods
PPT
Testing Framework
PPTX
ISTQB Advanced Test Manager Training 2012 - Testing Process
PDF
QUALITY METRICS OF TEST SUITES IN TESTDRIVEN DESIGNED APPLICATIONS
PPS
Estimating test effort part 1 of 2
PPT
Types of Software Testing
PDF
Strategies to Avoid Test Fixture Smells durin Software Evolution
PPT
PPT
Better Software Classic Testing Mistakes
PPTX
www.tutorialsbook.com presents Manual testing
PDF
Vladimir Primakov - Qa management in big agile teams
PPTX
Software Testing and Debugging
PPTX
ISTQB Foundation Agile Tester 2014 Training, Agile SW Development
PDF
Exploring Exploratory Testing
PPT
Learn Software Testing for ISTQB Foundation Exam
PPT
ISTQB / ISEB Foundation Exam Practice -1
Istqb intro with question answer for exam preparation
Software testing methods
Testing Framework
ISTQB Advanced Test Manager Training 2012 - Testing Process
QUALITY METRICS OF TEST SUITES IN TESTDRIVEN DESIGNED APPLICATIONS
Estimating test effort part 1 of 2
Types of Software Testing
Strategies to Avoid Test Fixture Smells durin Software Evolution
Better Software Classic Testing Mistakes
www.tutorialsbook.com presents Manual testing
Vladimir Primakov - Qa management in big agile teams
Software Testing and Debugging
ISTQB Foundation Agile Tester 2014 Training, Agile SW Development
Exploring Exploratory Testing
Learn Software Testing for ISTQB Foundation Exam
ISTQB / ISEB Foundation Exam Practice -1
Ad

Similar to Software testing (20)

PPTX
Software testing - basics
PPSX
Software Testing presentation
PPTX
Introduction to testing.
PPTX
Software testing basic
PPTX
QA Worskhop For Begginers In the Power Point Presentation
PPT
SE-Testing.ppt
DOCX
DOCX
PPTX
Software testing a guide from experience
PPTX
DOC
Testing
PPTX
Software Quality Assurance
PDF
International Journal of Engineering Research and Development (IJERD)
DOCX
General technical interview questions
PPT
ISTQB, ISEB Lecture Notes
PPTX
Software Testing - A sneak preview By Srikanth
PDF
Software Testing Data Kart and Integrated Pipeline Approach
PPTX
SoftwareTesting
PDF
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
Software testing - basics
Software Testing presentation
Introduction to testing.
Software testing basic
QA Worskhop For Begginers In the Power Point Presentation
SE-Testing.ppt
Software testing a guide from experience
Testing
Software Quality Assurance
International Journal of Engineering Research and Development (IJERD)
General technical interview questions
ISTQB, ISEB Lecture Notes
Software Testing - A sneak preview By Srikanth
Software Testing Data Kart and Integrated Pipeline Approach
SoftwareTesting
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
Ad

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Lesson notes of climatology university.
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Cell Structure & Organelles in detailed.
PDF
01-Introduction-to-Information-Management.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Pre independence Education in Inndia.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Basic Mud Logging Guide for educational purpose
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Final Presentation General Medicine 03-08-2024.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Supply Chain Operations Speaking Notes -ICLT Program
Sports Quiz easy sports quiz sports quiz
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pharma ospi slides which help in ospi learning
Lesson notes of climatology university.
human mycosis Human fungal infections are called human mycosis..pptx
GDM (1) (1).pptx small presentation for students
O7-L3 Supply Chain Operations - ICLT Program
TR - Agricultural Crops Production NC III.pdf
VCE English Exam - Section C Student Revision Booklet
Cell Structure & Organelles in detailed.
01-Introduction-to-Information-Management.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pre independence Education in Inndia.pdf

Software testing

  • 2. The Software Development Life Cycle Requirement Analysis Design CodingTesting Implementation  Software Requirement Specification  Design Specification  Test Strategy  Test Plan gksha.ittraining@gmail.com GKSHA IT Solutions
  • 4. Testing Objectives • Testing activity is performed to find defects in the softwareDetect Defects • Testing activity is performed to check if the software meets the specified requirements Determine specified Requirements are met • Testing activity is performed to test the performance of the application. Test the Performance gksha.ittraining@gmail.com GKSHA IT Solutions
  • 5. Testing Principles  Testing shows presence of defects  Exhaustive testing is impossible  Early Testing  Defect Clustering  Pesticide paradox  Testing is context dependent  Absence of errors fallacy gksha.ittraining@gmail.com GKSHA IT Solutions
  • 6. Software Testing Life Cycle Test Planning Test Analysis and Design Test Implementation and Execution Evaluating Exit Criteria and Reporting Test Closure Activities  Testing Objectives are defined  Test Case designing  Identifying the Test Data  Identifying the environment, Infrastructure and Tools  Test Executing  Test Results  Logging Defects  Re-testing  Verify if more testing is required  Test Summary Report  Test Archive gksha.ittraining@gmail.com GKSHA IT Solutions
  • 7. Test Types Test Type Functional Testing Non Functional Testing Confirmation Testing Regression Testing Testing the functionality against the software Testing the behavioral characteristic of the software Retesting No new defects are introduced in the process of fixing the earlier identified defects Black Box gksha.ittraining@gmail.com GKSHA IT Solutions
  • 8. Test Plan Test Plan describes  Assign mitigation and contingencies to the identified risks  Decide scope of testing according to level of risk  Features to be tested  Features not to be tested  Tasks to be performed  The environment in which testing is to be done  Test Schedule  Test Execution Test Plan Scope ResourcesApproach Schedule gksha.ittraining@gmail.com GKSHA IT Solutions
  • 9. Test Case Expected Output Actual Result= A test case is a document that contains detailed instructions for testing the functionality of a software application A Robust Test case should be  Independent to meet specific requirements  Easily understandable during testing  Free from spelling and grammatical mistakes.  Able to cover at least one functionality or requirement  Able to uncover bugs Test Components  Test Case Name  Objectives  Test Case ID  Prerequisites  Actions  Expected Result  Actual Result  Status  General Remarks gksha.ittraining@gmail.com GKSHA IT Solutions
  • 10. Black Box Test Design Technique Boundary Value Analysis Equivalence partitioning Error Guessing State Transition Syntax Testing Cause effect Graphic  Represents a set of valid and invalid conditions  Test condition which give similar results are grouped under one partition  Number of test cases is reduced considerably  Identifies bugs around the boundaries.  Takes into account output specifications when deriving test cases  Used to test the behavior of the application where the bug is most likely to occur  ADHOC method to identify tests that are likely to expose bugs.  Enables to make guess about bugs that are likely to be present in the application  Test Activities based on areas that are not covered by formal design techniques.  Enables you to test the transition from one state to another  Identifies the events which causes the transition and specifies Actions that result from the transition  Used to design test cases for software applications based on the syntax of the input.  Test the application with different set of input values  Used to identify possible causes of a problem by using the cause effect diagram  Analyze Cause of the problem  Identify the source of bugs and Observe the effects of the problem. gksha.ittraining@gmail.com GKSHA IT Solutions
  • 11. Execute a Test Case Test Log Pass BlockedFail Attributes of Test Log  Test log identifier  Test Description  Test Case ID  Execution Description  Actual Result  Status  Environmental Information  Anomalous Events  Incident Identifier  Name of Tester  Date of testing  General Comments gksha.ittraining@gmail.com GKSHA IT Solutions
  • 12. Test Summary Report Parameters of Report  Number of Modules tested  Number of test cases passed or failed  Number of bugs identified Precondition of Test Summary Report  Test Log to be completed  Testing activities should to be completed  Testing execution should be completed Benefits of Test Summary Report  Effectiveness of testing effort  Quality of application  Test Coverage  Decide any change  Reference to lessons learned gksha.ittraining@gmail.com GKSHA IT Solutions
  • 13. Defect Defects are events that occurred during text execution and require investigation. New Open Assigned Resolved Verified Closed Defer Reject ReopenDefect Report  Defect ID  Defect Summary  Actual Result  Expected Result  Date and Time  Supporting Evidence  Potential Impact (Severity & Priority)  Found By  Assigned To  Status gksha.ittraining@gmail.com GKSHA IT Solutions
  • 14. Test Tools Functional Testing Tools Software Functionality Software Requirement Specifications Used mainly for regression testing Performance Testing Tools Speed Effectiveness Load Stress Features of Performance Test Tool  Generating Load  Measuring timing of transactions  Measuring average response time  Creating graphs and charts E.g. QTP, Winrunner E.g. Load Runner, gksha.ittraining@gmail.com GKSHA IT Solutions
  • 15. Test Management Tool Requirement Analysis Design Coding Testing Implementation Test Management Tool  Test Case Management  Test Schedule  Managing Test effort  Traceability  Test report  Defect Management E.g. HP Quality Center gksha.ittraining@gmail.com GKSHA IT Solutions
  • 17. Question 1 Which is the correct principle of testing? a. Testing is context independent. b. Testing shows presence of defects. c. Exhaustive testing is possible. d. Defects are evenly distributed across the modules of software. Answer: Testing shows presence of defects gksha.ittraining@gmail.com
  • 18. Question 2 Which is the first phase of the SDLC? a. Development b. Testing c. Analysis d. Design Answer: Analysis gksha.ittraining@gmail.com
  • 19. Question 3 Which level of testing detects defects in the integration of components? a. Alpha testing b. Component integration testing c. System integration testing d. Beta testing Answer: Component integration testing gksha.ittraining@gmail.com
  • 20. Question 4 True or False? If a software application has bugs, the expected and the actual test result will be different. a. True b. False Answer: True gksha.ittraining@gmail.com
  • 21. Question 5 Which attribute of a test log is used to describe the sequence of steps or actions to execute a test log? a. Execution description b. Test log identifier c. Test description d. Anomalous events Answer: Execution description gksha.ittraining@gmail.com
  • 22. Question 6 Which component of the test case provides a detailed description of every step of execution? a. Actual result b. Expected result c. Remarks d. Action Answer: Action gksha.ittraining@gmail.com
  • 23. Question 7 How many test cases will you need to achieve complete coverage on a branch? a. One b. Two c. Four d. Three Answer: Two gksha.ittraining@gmail.com
  • 24. Question 8 Risk priority helps you determine: a. Size of the testing team. b. Need for regression testing. c. Extent of testing required. d. Requirements for a testing tool. Answer: Extent of testing required gksha.ittraining@gmail.com
  • 25. Question 9 True or False? Before creating a test summary report, you need to ensure that each test case is given a test status such as pass, fail, or blocked. a. True b. False Answer: True gksha.ittraining@gmail.com
  • 26. Question 10 Which testing type will you perform to ensure that no new defects are introduced in a new build of the software? a. Component testing b. Confirmation testing c. Regression testing d. Acceptance testing Answer: Regression testing gksha.ittraining@gmail.com
  • 27. Question 11 True or False? White-box testing techniques are used at acceptance level testing. a. True b. False Answer: False gksha.ittraining@gmail.com
  • 28. Question 12 True or False? If software is delivered to the customer with defects in it, then it is a product risk. a. True b. False Answer: True gksha.ittraining@gmail.com
  • 29. Question 13 Which test case design technique is used to separate groups of input conditions to obtain the same kind of output? a. Equivalence partitioning b. State transition testing c. Error guessing d. Boundary value analysis Answer: Equivalence partitioning gksha.ittraining@gmail.com
  • 30. Question 14 What is the importance of test planning? a. To prepare test documents. b. To create a matrix for measuring test results. c. To define the testing approach. d. To evaluate exit criteria. Answer: To define the testing approach. gksha.ittraining@gmail.com
  • 31. For any QA training and support related discussion, mail me at gksha.ittraining@gmail.com gksha.ittraining@gmail.com GKSHA IT Solutions