SlideShare a Scribd company logo
1 of 29
Download to read offline
Session 17: Software Testing
R2S Academy – Internal Use – Author: TUAN NGO
Table of Content
Defect / Bug
Software Testing Types
User Acceptance Test (UAT)
R2S Academy – Internal Use – Author: TUAN NGO
1
2
3
Objectives
Introduction
Terms (keywords) / Tester
Software Testing
Software testing terms
o Test Case: a set of actions performed on a system to
determine if it satisfies software requirements and functions
correctly
o Test Plan: a detailed document that describes the test
strategy, objectives, schedule, estimation, deliverables, and
resources required to perform testing for a software product
o Test Suite: collection of test cases that are intended to be
used to test a software program to show that it has some
specified set of behaviors
o Test Bed: The test execution environment (hardware,
software, OS, network, etc) configured for testing
Introduction
Software Testing
Test Plan
Testing terms
o Alpha Testing: internal acceptance testing performed
mainly by the in-house software QA and testing teams
o Beta Testing: the testing carried out by real users in a real
environment. This is the final testing phase where
companies release the software to a few external users
o A/B Testing (not software testing related): experimentation
process wherein two or more versions of a variable (web
page, page element, etc.) are shown to different
segments of website visitors at the same time to
determine which version leaves the maximum impact and
drive business metrics
Introduction
Software Testing
Tester’s tasks
ü Review requirements
ü Develop testcases
ü Verify committed tasks, log bugs
ü Retest fixed bugs / reopen bugs
ü Provide test results report
Introduction
Tester’s Tasks
Definition
Defect Definition / Types of Defect
Defect / Bug
1. What is defect/ bug?
ü A defect is an error or bug in an application that is created during building
or designing software and due to which software starts to show abnormal
behaviors during its use
ü A defect can occur at any point in the software development lifecycle
ü Finding and fixing issues in the early phase saves time, effort, and cost
Defect/ Bug
Definition
2. What causes defect/ bug?
ü unclear requirements
ü programming errors
ü software complexity
ü lack of communication
ü timeline deviation
ü errors in bug tracking
ü documentation errors
ü deviation from standards
and much more
Defect/ Bug
Definition
3. How to identify
ü Sighting: the event that lets you know that the bug exists. It could be a
test failure, a customer report of a problem, a crash, or a hang
ü Symptom: the specific way the program isn't behaving as expected. It is
more specific than the sighting because often when a program first fails,
the person who makes the sighting isn't paying attention to it at a level to
give a clear symptom
ü Reproducer: the set of steps necessary for an arbitrary user to reproduce
the symptom with at least some probability. It can include manual inputs
and settings, data files or database contents, or configuration details
ü Description: the full write up of the bug
Defect/ Bug
Definition
3. How to identify
ü Failure: usually related to the part of the program that is responsible for
doing what the program does when the symptom occurs. Ex: A program
may crash because it dereferences an invalid memory address
ü Cause-Effect Chain: there may be one or more steps of cause and effect
that separate the initial defect in the code from the final failure that lead
to the symptom
ü Defect: the actual mistake in the program itself. It is the cause at the
beginning of the effect chain. Sometimes it is a single line, word, or even
character. Generally, this can only be determined by analyzing the
behavior of the program to find each link in the cause-effect chain
Defect/ Bug
Definition
4. Difference between Error, Defect and Failure
ü Error: If the developers find that there is a mismatch in the actual and expected behavior of an
application in the development phase then they call it an Error.
ü Defect / Bug: If testers find a mismatch in the actual and expected behavior of an application in the
testing phase then they call it a Defect.
ü Failure: If customers or end-users find a mismatch in the actual and expected behavior of an
application in the production phase then they call it a Failure.
Defect/ Bug
Definition
Terms Description Raised by
Defect When the application is not working as per the requirement Test engineer
Bug Informal name of defect Test engineer
Error Problem in code leads to the errors Developer, Automation Test Engineer
Issue When the application is not meeting the business requirement Customer, end-user
Mistake Problem in the document is known as a mistake ...
Faillure Lots of defect leads to failure of the software ...
Defect/ Bug
Definition
5. Producible and Non-reproducible defect
ü Producible defect: A defect that is occurring repeatedly in
every execution and can be captured in every execution
ü Non-reproducible defect: A defect that is not occurring
repeatedly in every execution and is producing only at some
instances and whose steps as proof have to be captured with
the help of screenshots
Defect/ Bug
Definition
6. Cost
For an error discovered:
ü In the requirements stage: The cost of the defect is zero
ü In the user acceptance stage: The cost is a lot more expensive
Example: the infamous case of the Samsung Galaxy Note 7
smartphones and all the explosions of the phone...
Defect/ Bug
Definition
Defect/ Bug
Bug Life Cycle
Status
New: Bugs created by testers. Developers will not work on these bugs
Approved: Task already reviewed and approved by PM or BA
In Progress: Bug is working / fixing by developers
Committed: Bug already fixed but this is not developed yet
Ready To Verify: Bug already deployed and QC can start testing
Done: Bug already verified successfully
Removed: Bug removed due to some reasons
Defect/ Bug
Types of Bug
Types of Testing
Defect/ Bug
Software Testing
Types of Testing
Software Testing
Types of Testing
Smock Testing and Sanity Testing
ü Planning
û The list of business processes to be tested is prepared.
û Defining the acceptance criteria.
û Select the testing team.
û Prepare the test data. The test data should cover all the software’s functional scenarios in real-world usage.
û Prepare a UAT test plan. UAT test plan is prepared for the test execution.
ü Design the test: we use the information collected in the planning phase to design the tests.
ü Execution the test using the test data and document the results. Defects found in the system are resolved and re-tested.
ü Confirmation of business objectives
Sign-off: This states that the software product meets the business requirements and is ready for production. The overall
UAT process’s deliverables are Test Plan, UAT scenarios, test cases, test results, and defect log
UAT
Process
Verification
Software Testing
Web – Textbox verification
Web - Image Upload Verification
Verification
Web Testing
Negative Cases Positive Cases
Leave empty
Out of range (length) - edge of range +-1 In range
Input characters to numeric fields Input number in numeric field
Missing 1 of combined constraints Input character and/or number in character field
Negative Cases Positive Cases
Exceed size (bytes) Within size (bytes)
Exceed size (pixel) Within size (pixel: width and height)
File extension which is not supported Proper extension
Non-image file extension
No image
Same/Different filename
Web – Date & Time verification
Web - Dropdown list Verification
Web – Links
ü All menu links
ü All page links
ü Orphan page – Page without any link
Verification
Web Testing
Negative Cases Positive Cases
Leave empty Field "To" >= field "From"
Field "To" < field "From" Input date/time manually or select from the dialog
Select Past Date select near future date
Input just one field (To or From)
If input manually, consider data validation
Negative Cases Positive Cases
Leave empty Pick one from the list
Input data instead of selecting from the list
Web – Search function
ü Keywork matches 100% with the result
ü Keywork is part of the result
ü Case sensitive checking: SEArch, Search, search, etc
ü Special characters: *, ~, !, #, $, %, ^, &, etc
ü Empty search
ü Combine with other conditions: AND, OR, NOT
Web – Content verification
ü Spelling
ü UI
ü Response time (pages loading, downloading, etc)
ü Color, font size, etc
ü Web elements (buttons, checkboxes, textboxes, links, etc) present
Verification
Web Testing
App – Types of testing
ü Usability testing - Kiểm thử tính khả dụng
ü Compatibility testing - Kiểm thử khả năng tương thích
ü Interface testing - Kiểm thử giao diện
ü Service testing - Kiểm thử chức năng
ü Performance testing - Kiểm thử hiệu suất
ü Operational testing - Kiểm thử khả năng hoạt động
ü Installation testing - Kiểm thử cài đặt
ü Security testing - Kiểm thử bảo mật
App – Common issues
ü App crashes
ü App stops working and hang
ü Cannot perform main flow of a function
Verification
Mobile App Testing
Verification
Test Report
Verification
Test Report
Session 16 Review
Software Testing

More Related Content

Similar to Session17-Software Testing.pdf

Testing Presentation
Testing PresentationTesting Presentation
Testing Presentationsureshpkumar
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGSachin Pathania
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfBabaShaikh3
 
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit TestingReading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit TestingArtemisa Yescas Engler
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life CycleUdayakumar Sree
 
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginnersSriman Eshwar
 
Manual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docxManual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docxsai kiran
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx14941
 
Software Testing Interview Questions For Experienced
Software Testing Interview Questions For ExperiencedSoftware Testing Interview Questions For Experienced
Software Testing Interview Questions For Experiencedzynofustechnology
 
Best practices quality assurance
Best practices   quality assuranceBest practices   quality assurance
Best practices quality assuranceShakal Shukla
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_moduleSuresh Mishra
 

Similar to Session17-Software Testing.pdf (20)

Testing overview
Testing overviewTesting overview
Testing overview
 
Testing Presentation
Testing PresentationTesting Presentation
Testing Presentation
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdf
 
Software testing
Software testingSoftware testing
Software testing
 
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit TestingReading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
Testing
TestingTesting
Testing
 
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners
 
Manual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docxManual Testing guide by nagula sai kiran.docx
Manual Testing guide by nagula sai kiran.docx
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
 
Software Testing Interview Questions For Experienced
Software Testing Interview Questions For ExperiencedSoftware Testing Interview Questions For Experienced
Software Testing Interview Questions For Experienced
 
Best practices quality assurance
Best practices   quality assuranceBest practices   quality assurance
Best practices quality assurance
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
testing
testingtesting
testing
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
 
Testing software development
Testing software developmentTesting software development
Testing software development
 

More from PeterTran514407

Session13-Class Diagram (1).pdf
Session13-Class Diagram (1).pdfSession13-Class Diagram (1).pdf
Session13-Class Diagram (1).pdfPeterTran514407
 
Session03-Requirement (1).pdf
Session03-Requirement (1).pdfSession03-Requirement (1).pdf
Session03-Requirement (1).pdfPeterTran514407
 
Session15+16-User Story (2).pdf
Session15+16-User Story (2).pdfSession15+16-User Story (2).pdf
Session15+16-User Story (2).pdfPeterTran514407
 
Session01-BA Introduction.pdf
Session01-BA Introduction.pdfSession01-BA Introduction.pdf
Session01-BA Introduction.pdfPeterTran514407
 

More from PeterTran514407 (6)

Session13-Class Diagram (1).pdf
Session13-Class Diagram (1).pdfSession13-Class Diagram (1).pdf
Session13-Class Diagram (1).pdf
 
Session07-Diagram.pdf
Session07-Diagram.pdfSession07-Diagram.pdf
Session07-Diagram.pdf
 
Session03-Requirement (1).pdf
Session03-Requirement (1).pdfSession03-Requirement (1).pdf
Session03-Requirement (1).pdf
 
bdd-190104042740.pdf
bdd-190104042740.pdfbdd-190104042740.pdf
bdd-190104042740.pdf
 
Session15+16-User Story (2).pdf
Session15+16-User Story (2).pdfSession15+16-User Story (2).pdf
Session15+16-User Story (2).pdf
 
Session01-BA Introduction.pdf
Session01-BA Introduction.pdfSession01-BA Introduction.pdf
Session01-BA Introduction.pdf
 

Recently uploaded

Unlocking the Mysteries of the Lymphatic System
Unlocking the Mysteries of the Lymphatic SystemUnlocking the Mysteries of the Lymphatic System
Unlocking the Mysteries of the Lymphatic SystemSasikiranMarri
 
preeti cornea ..physiology of cornea.ppt
preeti cornea ..physiology of cornea.pptpreeti cornea ..physiology of cornea.ppt
preeti cornea ..physiology of cornea.pptpreetiagarwal53
 
CASE STUDY ON CHRONIC KIDNEY DISEASE.pptx
CASE  STUDY ON CHRONIC KIDNEY DISEASE.pptxCASE  STUDY ON CHRONIC KIDNEY DISEASE.pptx
CASE STUDY ON CHRONIC KIDNEY DISEASE.pptxdrsriram2001
 
Disseminated Intravascular Coagulation.ppt
Disseminated Intravascular Coagulation.pptDisseminated Intravascular Coagulation.ppt
Disseminated Intravascular Coagulation.pptSameer Jain
 
Weighing the Risks and Benefits: Angioplasty at Gokuldas Hospitals
Weighing the Risks and Benefits: Angioplasty at Gokuldas HospitalsWeighing the Risks and Benefits: Angioplasty at Gokuldas Hospitals
Weighing the Risks and Benefits: Angioplasty at Gokuldas HospitalsGokuldas Hospital
 
Your Radiotherapy Destination Gokuldas Hospital.
Your Radiotherapy Destination Gokuldas Hospital.Your Radiotherapy Destination Gokuldas Hospital.
Your Radiotherapy Destination Gokuldas Hospital.Gokuldas Hospital
 
Advance Directives and Advance Care Planning: Ensuring Patient Voices Are Heard
Advance Directives and Advance Care Planning: Ensuring Patient Voices Are HeardAdvance Directives and Advance Care Planning: Ensuring Patient Voices Are Heard
Advance Directives and Advance Care Planning: Ensuring Patient Voices Are HeardVITASAuthor
 
AMIKINHAL Presentation Journal Club (3).pptx
AMIKINHAL Presentation Journal Club (3).pptxAMIKINHAL Presentation Journal Club (3).pptx
AMIKINHAL Presentation Journal Club (3).pptxDileepRedemption
 
Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...
Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...
Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...Oleg Kshivets
 
Emergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptxEmergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptxdragonaklevel7
 
Preventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdf
Preventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdfPreventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdf
Preventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdfAditiAlishetty
 
Understanding Cholera: Epidemiology, Prevention, and Control.pdf
Understanding Cholera: Epidemiology, Prevention, and Control.pdfUnderstanding Cholera: Epidemiology, Prevention, and Control.pdf
Understanding Cholera: Epidemiology, Prevention, and Control.pdfSasikiranMarri
 
Principles and Methods of Heart Rate Variability Biofeedback
Principles and Methods of Heart Rate Variability BiofeedbackPrinciples and Methods of Heart Rate Variability Biofeedback
Principles and Methods of Heart Rate Variability BiofeedbackSaran A K
 
Test bank criminal behavior a psychological approach 12e bartol.pdf
Test bank criminal behavior a psychological approach 12e bartol.pdfTest bank criminal behavior a psychological approach 12e bartol.pdf
Test bank criminal behavior a psychological approach 12e bartol.pdfmarcuskenyatta275
 
The Sensory Organs ( Anatomy & Physiology)
The Sensory Organs ( Anatomy & Physiology)The Sensory Organs ( Anatomy & Physiology)
The Sensory Organs ( Anatomy & Physiology)Nagamani Manjunath
 
AI in Pediatrics: Taking Baby Steps in the Big World of Data
AI in Pediatrics: Taking Baby Steps in the Big World of DataAI in Pediatrics: Taking Baby Steps in the Big World of Data
AI in Pediatrics: Taking Baby Steps in the Big World of DataIris Thiele Isip-Tan
 
X-Ray Beam Restrictors/Beam Modifying devices.pptx
X-Ray Beam Restrictors/Beam Modifying devices.pptxX-Ray Beam Restrictors/Beam Modifying devices.pptx
X-Ray Beam Restrictors/Beam Modifying devices.pptxDr. Dheeraj Kumar
 
Elevating Fitness & Well-being with Neighborhood Trainers.
Elevating Fitness & Well-being with Neighborhood Trainers.Elevating Fitness & Well-being with Neighborhood Trainers.
Elevating Fitness & Well-being with Neighborhood Trainers.Neighborhood Trainer
 
arpita 1-1.pptx management of nursing service and education
arpita 1-1.pptx management of nursing service and educationarpita 1-1.pptx management of nursing service and education
arpita 1-1.pptx management of nursing service and educationNursing education
 
LABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEM
LABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEMLABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEM
LABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEMRommel Luis III Israel
 

Recently uploaded (20)

Unlocking the Mysteries of the Lymphatic System
Unlocking the Mysteries of the Lymphatic SystemUnlocking the Mysteries of the Lymphatic System
Unlocking the Mysteries of the Lymphatic System
 
preeti cornea ..physiology of cornea.ppt
preeti cornea ..physiology of cornea.pptpreeti cornea ..physiology of cornea.ppt
preeti cornea ..physiology of cornea.ppt
 
CASE STUDY ON CHRONIC KIDNEY DISEASE.pptx
CASE  STUDY ON CHRONIC KIDNEY DISEASE.pptxCASE  STUDY ON CHRONIC KIDNEY DISEASE.pptx
CASE STUDY ON CHRONIC KIDNEY DISEASE.pptx
 
Disseminated Intravascular Coagulation.ppt
Disseminated Intravascular Coagulation.pptDisseminated Intravascular Coagulation.ppt
Disseminated Intravascular Coagulation.ppt
 
Weighing the Risks and Benefits: Angioplasty at Gokuldas Hospitals
Weighing the Risks and Benefits: Angioplasty at Gokuldas HospitalsWeighing the Risks and Benefits: Angioplasty at Gokuldas Hospitals
Weighing the Risks and Benefits: Angioplasty at Gokuldas Hospitals
 
Your Radiotherapy Destination Gokuldas Hospital.
Your Radiotherapy Destination Gokuldas Hospital.Your Radiotherapy Destination Gokuldas Hospital.
Your Radiotherapy Destination Gokuldas Hospital.
 
Advance Directives and Advance Care Planning: Ensuring Patient Voices Are Heard
Advance Directives and Advance Care Planning: Ensuring Patient Voices Are HeardAdvance Directives and Advance Care Planning: Ensuring Patient Voices Are Heard
Advance Directives and Advance Care Planning: Ensuring Patient Voices Are Heard
 
AMIKINHAL Presentation Journal Club (3).pptx
AMIKINHAL Presentation Journal Club (3).pptxAMIKINHAL Presentation Journal Club (3).pptx
AMIKINHAL Presentation Journal Club (3).pptx
 
Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...
Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...
Esophageal Cancer: Artificial Intelligence, Synergetics, Complex System Analy...
 
Emergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptxEmergency ambulance portal-PPT-3g2pqy.pptx
Emergency ambulance portal-PPT-3g2pqy.pptx
 
Preventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdf
Preventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdfPreventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdf
Preventing Common Nutritional Deficiencies In Poultry Flocks (PPT).pdf
 
Understanding Cholera: Epidemiology, Prevention, and Control.pdf
Understanding Cholera: Epidemiology, Prevention, and Control.pdfUnderstanding Cholera: Epidemiology, Prevention, and Control.pdf
Understanding Cholera: Epidemiology, Prevention, and Control.pdf
 
Principles and Methods of Heart Rate Variability Biofeedback
Principles and Methods of Heart Rate Variability BiofeedbackPrinciples and Methods of Heart Rate Variability Biofeedback
Principles and Methods of Heart Rate Variability Biofeedback
 
Test bank criminal behavior a psychological approach 12e bartol.pdf
Test bank criminal behavior a psychological approach 12e bartol.pdfTest bank criminal behavior a psychological approach 12e bartol.pdf
Test bank criminal behavior a psychological approach 12e bartol.pdf
 
The Sensory Organs ( Anatomy & Physiology)
The Sensory Organs ( Anatomy & Physiology)The Sensory Organs ( Anatomy & Physiology)
The Sensory Organs ( Anatomy & Physiology)
 
AI in Pediatrics: Taking Baby Steps in the Big World of Data
AI in Pediatrics: Taking Baby Steps in the Big World of DataAI in Pediatrics: Taking Baby Steps in the Big World of Data
AI in Pediatrics: Taking Baby Steps in the Big World of Data
 
X-Ray Beam Restrictors/Beam Modifying devices.pptx
X-Ray Beam Restrictors/Beam Modifying devices.pptxX-Ray Beam Restrictors/Beam Modifying devices.pptx
X-Ray Beam Restrictors/Beam Modifying devices.pptx
 
Elevating Fitness & Well-being with Neighborhood Trainers.
Elevating Fitness & Well-being with Neighborhood Trainers.Elevating Fitness & Well-being with Neighborhood Trainers.
Elevating Fitness & Well-being with Neighborhood Trainers.
 
arpita 1-1.pptx management of nursing service and education
arpita 1-1.pptx management of nursing service and educationarpita 1-1.pptx management of nursing service and education
arpita 1-1.pptx management of nursing service and education
 
LABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEM
LABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEMLABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEM
LABORATORY PROCEDURES-ALTERATION IN THE ENDOCRINE SYSTEM
 

Session17-Software Testing.pdf

  • 1. Session 17: Software Testing R2S Academy – Internal Use – Author: TUAN NGO
  • 2. Table of Content Defect / Bug Software Testing Types User Acceptance Test (UAT) R2S Academy – Internal Use – Author: TUAN NGO 1 2 3 Objectives
  • 3. Introduction Terms (keywords) / Tester Software Testing
  • 4. Software testing terms o Test Case: a set of actions performed on a system to determine if it satisfies software requirements and functions correctly o Test Plan: a detailed document that describes the test strategy, objectives, schedule, estimation, deliverables, and resources required to perform testing for a software product o Test Suite: collection of test cases that are intended to be used to test a software program to show that it has some specified set of behaviors o Test Bed: The test execution environment (hardware, software, OS, network, etc) configured for testing Introduction Software Testing Test Plan
  • 5. Testing terms o Alpha Testing: internal acceptance testing performed mainly by the in-house software QA and testing teams o Beta Testing: the testing carried out by real users in a real environment. This is the final testing phase where companies release the software to a few external users o A/B Testing (not software testing related): experimentation process wherein two or more versions of a variable (web page, page element, etc.) are shown to different segments of website visitors at the same time to determine which version leaves the maximum impact and drive business metrics Introduction Software Testing
  • 6. Tester’s tasks ü Review requirements ü Develop testcases ü Verify committed tasks, log bugs ü Retest fixed bugs / reopen bugs ü Provide test results report Introduction Tester’s Tasks
  • 7. Definition Defect Definition / Types of Defect Defect / Bug
  • 8. 1. What is defect/ bug? ü A defect is an error or bug in an application that is created during building or designing software and due to which software starts to show abnormal behaviors during its use ü A defect can occur at any point in the software development lifecycle ü Finding and fixing issues in the early phase saves time, effort, and cost Defect/ Bug Definition
  • 9. 2. What causes defect/ bug? ü unclear requirements ü programming errors ü software complexity ü lack of communication ü timeline deviation ü errors in bug tracking ü documentation errors ü deviation from standards and much more Defect/ Bug Definition
  • 10. 3. How to identify ü Sighting: the event that lets you know that the bug exists. It could be a test failure, a customer report of a problem, a crash, or a hang ü Symptom: the specific way the program isn't behaving as expected. It is more specific than the sighting because often when a program first fails, the person who makes the sighting isn't paying attention to it at a level to give a clear symptom ü Reproducer: the set of steps necessary for an arbitrary user to reproduce the symptom with at least some probability. It can include manual inputs and settings, data files or database contents, or configuration details ü Description: the full write up of the bug Defect/ Bug Definition
  • 11. 3. How to identify ü Failure: usually related to the part of the program that is responsible for doing what the program does when the symptom occurs. Ex: A program may crash because it dereferences an invalid memory address ü Cause-Effect Chain: there may be one or more steps of cause and effect that separate the initial defect in the code from the final failure that lead to the symptom ü Defect: the actual mistake in the program itself. It is the cause at the beginning of the effect chain. Sometimes it is a single line, word, or even character. Generally, this can only be determined by analyzing the behavior of the program to find each link in the cause-effect chain Defect/ Bug Definition
  • 12. 4. Difference between Error, Defect and Failure ü Error: If the developers find that there is a mismatch in the actual and expected behavior of an application in the development phase then they call it an Error. ü Defect / Bug: If testers find a mismatch in the actual and expected behavior of an application in the testing phase then they call it a Defect. ü Failure: If customers or end-users find a mismatch in the actual and expected behavior of an application in the production phase then they call it a Failure. Defect/ Bug Definition
  • 13. Terms Description Raised by Defect When the application is not working as per the requirement Test engineer Bug Informal name of defect Test engineer Error Problem in code leads to the errors Developer, Automation Test Engineer Issue When the application is not meeting the business requirement Customer, end-user Mistake Problem in the document is known as a mistake ... Faillure Lots of defect leads to failure of the software ... Defect/ Bug Definition
  • 14. 5. Producible and Non-reproducible defect ü Producible defect: A defect that is occurring repeatedly in every execution and can be captured in every execution ü Non-reproducible defect: A defect that is not occurring repeatedly in every execution and is producing only at some instances and whose steps as proof have to be captured with the help of screenshots Defect/ Bug Definition
  • 15. 6. Cost For an error discovered: ü In the requirements stage: The cost of the defect is zero ü In the user acceptance stage: The cost is a lot more expensive Example: the infamous case of the Samsung Galaxy Note 7 smartphones and all the explosions of the phone... Defect/ Bug Definition
  • 16. Defect/ Bug Bug Life Cycle Status New: Bugs created by testers. Developers will not work on these bugs Approved: Task already reviewed and approved by PM or BA In Progress: Bug is working / fixing by developers Committed: Bug already fixed but this is not developed yet Ready To Verify: Bug already deployed and QC can start testing Done: Bug already verified successfully Removed: Bug removed due to some reasons
  • 20. Software Testing Types of Testing Smock Testing and Sanity Testing
  • 21. ü Planning û The list of business processes to be tested is prepared. û Defining the acceptance criteria. û Select the testing team. û Prepare the test data. The test data should cover all the software’s functional scenarios in real-world usage. û Prepare a UAT test plan. UAT test plan is prepared for the test execution. ü Design the test: we use the information collected in the planning phase to design the tests. ü Execution the test using the test data and document the results. Defects found in the system are resolved and re-tested. ü Confirmation of business objectives Sign-off: This states that the software product meets the business requirements and is ready for production. The overall UAT process’s deliverables are Test Plan, UAT scenarios, test cases, test results, and defect log UAT Process
  • 23. Web – Textbox verification Web - Image Upload Verification Verification Web Testing Negative Cases Positive Cases Leave empty Out of range (length) - edge of range +-1 In range Input characters to numeric fields Input number in numeric field Missing 1 of combined constraints Input character and/or number in character field Negative Cases Positive Cases Exceed size (bytes) Within size (bytes) Exceed size (pixel) Within size (pixel: width and height) File extension which is not supported Proper extension Non-image file extension No image Same/Different filename
  • 24. Web – Date & Time verification Web - Dropdown list Verification Web – Links ü All menu links ü All page links ü Orphan page – Page without any link Verification Web Testing Negative Cases Positive Cases Leave empty Field "To" >= field "From" Field "To" < field "From" Input date/time manually or select from the dialog Select Past Date select near future date Input just one field (To or From) If input manually, consider data validation Negative Cases Positive Cases Leave empty Pick one from the list Input data instead of selecting from the list
  • 25. Web – Search function ü Keywork matches 100% with the result ü Keywork is part of the result ü Case sensitive checking: SEArch, Search, search, etc ü Special characters: *, ~, !, #, $, %, ^, &, etc ü Empty search ü Combine with other conditions: AND, OR, NOT Web – Content verification ü Spelling ü UI ü Response time (pages loading, downloading, etc) ü Color, font size, etc ü Web elements (buttons, checkboxes, textboxes, links, etc) present Verification Web Testing
  • 26. App – Types of testing ü Usability testing - Kiểm thử tính khả dụng ü Compatibility testing - Kiểm thử khả năng tương thích ü Interface testing - Kiểm thử giao diện ü Service testing - Kiểm thử chức năng ü Performance testing - Kiểm thử hiệu suất ü Operational testing - Kiểm thử khả năng hoạt động ü Installation testing - Kiểm thử cài đặt ü Security testing - Kiểm thử bảo mật App – Common issues ü App crashes ü App stops working and hang ü Cannot perform main flow of a function Verification Mobile App Testing