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

❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...Gfnyt.com
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.ktanvi103
 
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...gurkirankumar98700
 
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋Sheetaleventcompany
 
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591adityaroy0215
 
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetHubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...Call Girls Noida
 
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking ModelsDehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Modelsindiancallgirl4rent
 
Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...
Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...
Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...seemahedar019
 
VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171Call Girls Service Gurgaon
 
VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171Call Girls Service Gurgaon
 
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetSambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591adityaroy0215
 
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service availableCall Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service availablegragmanisha42
 
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...Gfnyt.com
 
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...Sheetaleventcompany
 
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...Call Girls Noida
 
Nanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Nanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetNanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Nanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetChandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meetpriyashah722354
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...Gfnyt.com
 

Recently uploaded (20)

❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
 
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
Russian Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8923113531 ...
 
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
 
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
 
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetHubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
 
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking ModelsDehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
Dehradun Call Girls Service 08854095900 Real Russian Girls Looking Models
 
Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...
Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...
Jodhpur Call Girls 📲 9999965857 Jodhpur best beutiful hot girls full satisfie...
 
VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171
 
VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171
 
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetSambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
 
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service availableCall Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service available
 
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
 
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
 
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
pOOJA sexy Call Girls In Sector 49,9999965857 Young Female Escorts Service In...
 
Nanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Nanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetNanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Nanded Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetChandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...
 

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