SlideShare a Scribd company logo
TESTING
CONCEPTS
By:
Sangamesh Kumbar
Foundation level testing concepts
Non-Functional testing
Test Automation
Selenium Tool
What is Software Testing
 Software Testing is an activity in software development.
 It is an investigation performed against a software to provide information
about the quality of the software to stakeholders.
 Software testing is associated with the two terms.
Validation: Are we doing the right job?
Verification: Are we doing the job right?
Case study "Virtual Show Room" –
VSR shows possible models and
combinations of extra
equipment, and instantly
calculates the accurate
price of the configured car
Suitable
payment
Place the
order online
Appropriate
insurance
Configure their favorite model
The Fundamental Test Process
General Principles of Testing
 Principle 1: Testing shows the presence of defects, not their absence.
 Principle 2: Exhaustive testing is not possible.
 Principle 3: Testing activities should start as early as possible.
 Principle 4: Defects tend to cluster together.
 Principle 5: The pesticide paradox.
 Principle 6: Test is context dependent.
 Principle 7: Absence of error fallacy.
The General V-Model
Unit Testing
Component Testing
Integration Testing
System Testing
Acceptance Testing
Section II
Unit Testing
 In this testing we will test individual functionality of modules.
 We will test functions and it’s output.
 Done By Developer.
Admin Module
Functions Methods
Loop’s Statement’s
Example:
Component Testing
 Component testing is one of the testing technique in which the testing is
performed on each individual component separately without integrating with
other components.
1
2
3
4
5
Website
Integration Testing
 In integration Testing, individual software modules are integrated logically
and tested as a group. (Incremental and Big Bang Approach)
Top Down Approach Bottom Up Approach
Lower Modules Lower Modules
Higher ModulesHigher Modules
System Testing
 System Testing is the testing of a complete and fully integrated software product.
 Software is interfaced with other software/hardware systems.
 System Testing is actually a series of different tests whose sole purpose is to
exercise the full computer based system.
Acceptance Testing
 User acceptance is a type of testing performed by the Client to certify the system with respect
to the requirements that was agreed upon.
 This testing happens in the final phase of testing before moving the software application to
Market.
The General V-Model
Coding
Module Design
Software Design
System Analysis
Requirement
Gathering
Acceptance Test
System Test
Integration Test
Component Test
Verification Validation
1 31
Above Below
320
Below Above
Lower Boundary Upper Boundary
1. 1
2. 2
3. 3
4. .
5. 31
1. 31
2. 32
3. 33
4. .
5. ..
Invalid Input Valid Input Invalid Input
1. 0
2. -1
3. -2
4. .
5. ..
OFF ON
Turn ON
Turn Off
Test Design Techniques of Black Box
 The method in which internal structure of the Product is not known to the
tester.
 4 important software testing techniques-
 Equivalence Class Partitioning
 Boundary Value Analysis (BVA)
 Decision Table based testing.
 State Transition
Test Design Techniques of White Box
 The method in which internal structure of the product is known to developer.
 2 important software testing techniques-
 Statement Coverage
 Branch Coverage
 Non-Functional testing
Compatibility testing
Performance testing
Security testing
 Functional testing
 Functional testing is also known as component testing.
 Component’s : test box, check list, drop down, radio button, links, etc..
 Is a type of software testing in which software is tested against
functional requirements or specifications with the intend to find a bug
or defect(s) if any.
 Functional testing (verifies, design) is different from System testing
(validates, system) .
Example: SRS document for Login
1. Login
1.1 username : should accept 8 – 22 character.
1.2 password : should accept 8 – 22 character, special characters are
allowed.
1.3 …
2. Forgot Password
2.1 …
2.2 …
3. … Login
Compatibility testing
 Compatibility Testing is a type of Software testing to check whether your software is capable of
running on different hardware, operating systems, network environments or Mobile devices.
 Types:
There are two types of version checking
Compatibility testing Example:
Gmail in Old version of Firefox Gmail in New version of Firefox
Performance testing
 Performance Testing is a type of testing to ensure software applications will perform well
under their expected workload.
 The focus of Performance Testing is.
 Speed - Determines whether the application responds quickly.
 Scalability - Determines maximum user load the software application can handle.
 Stability - Determines if the application is stable under varying loads
Security testing
 Security Testing is a variant of Software Testing which ensures, that system
and applications in an organization, are free from any loopholes that may
cause a big loss.
 Security testing of any system is about finding all possible loopholes and
weaknesses of the system which might result into a loss of information at the
hands of the employees or outsiders of the Organization.
Types of Security
testing
 Basic concepts of Test
Automation
Why Automation?
Automation process
Automation Tools
Types of software testing that can be automated
WHY AUTOMATION ?
 Manual testing of all work flows, all fields, all negative scenarios is time and cost
consuming.
 It is difficult to test for multilingual sites manually.
CONT.,
 Automation does not require human intervention.
 Automation increases speed of test execution and test coverage.
DISADVANTAGE
Its not easy
Automation Script
error
Complexity
Debugging
CAN EVERYTHING BE
AUTOMATED ??
There are cases when automating is not required or feasible.
 Application is changing in near future.
 Very tight deadline.
AUTOMATION PROCESS
Test tool selection
Define the scope of Automation
Planning, Design, and Development
Test Execution
Maintenance
Features HP QTP IBM RFT Selenium
License Required Required Open Source
Cost High High Free
Customer Supp. Yes Yes Yes: OSC
Coding Skills Low Low Very High
Environment
Supp.
Windows Windows Windows , Linux,
Mac
Automation Tools
TYPES OF SOFTWARE TESTING THAT
CAN BE AUTOMATED
1. Unit Testing
2. Integration Testing
3. Functional Testing
4. Regression Testing
5. Black Box Testing
 SELENIUM
What is Selenium
Why use selenium
Versions and suite of Tools.
How to set-up selenium
Hands-on!
WHAT IS SELENIUM
“Selenium is an open-source tool that can automate
almost any web browser “
 Selenium can only be used to test web applications.
 Selenium is fast and easy to use even with large set of data,
and has guaranteed accuracy.
WHY USE SELENIUM
Being open-source, selenium is available for free.
Selenium works good with any operating system.
Selenium lets you perform tests on any web browser.
Selenium supports for multiple programming languages.
VERSIONS AND SUITE OF
TOOLS
 Selenium RC
 Selenium IDE
 Selenium WebDriver
HOW TO SET-UP SELENIUM
JAVA
Eclipse
Selenium
https://www.seleniumhq.org/download/
TEST CASE EXAMPLE 1 :
 Search Some text in Bing search engine
1> 2
>
TEST CASE EXAMPLE 2 :
 Creating Facebook using selenium automation
1> 2
>
Testing concepts

More Related Content

What's hot

Testing in multiplatform environment
Testing in multiplatform environmentTesting in multiplatform environment
Testing in multiplatform environment
shivanichauhan1953
 
Software testing career 20180929 update
Software testing career 20180929 updateSoftware testing career 20180929 update
Software testing career 20180929 update
Ahmed Ahmed Mokhtar
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in Chandigarh
Kreativan Technologies
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
Wael Mansour
 
Software testing
Software testingSoftware testing
Software testing
Farhanullah khan
 
Integration testing
Integration testingIntegration testing
Integration testing
Techversant
 
Software coding and testing
Software coding and testingSoftware coding and testing
Software coding and testing
Sandeep Kumar Nayak
 
Integration testing
Integration testingIntegration testing
Integration testing
Vaibhav Dash
 
A COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTINGA COMPOSITION ON SOFTWARE TESTING
Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh          Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh
tapsi sharma
 
Sftwre engg.testng
Sftwre engg.testngSftwre engg.testng
Sftwre engg.testng
kanika20071990
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software Testing
Henry Muccini
 
Basics of Automation & Manual Software Testing
Basics of Automation & Manual Software TestingBasics of Automation & Manual Software Testing
Basics of Automation & Manual Software Testing
Gusani Tech Ideation
 
What is smoke testing
What is smoke testingWhat is smoke testing
What is smoke testing
pooja deshmukh
 
Types of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and AdvantagesTypes of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and Advantages
Simform
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
Chaitanya Kn
 
Software testing
Software testingSoftware testing
Software testing
Eng Ibrahem
 
Unit testing
Unit testing Unit testing
Unit testing
Mani Kanth
 

What's hot (19)

Testing in multiplatform environment
Testing in multiplatform environmentTesting in multiplatform environment
Testing in multiplatform environment
 
Software testing career 20180929 update
Software testing career 20180929 updateSoftware testing career 20180929 update
Software testing career 20180929 update
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in Chandigarh
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
 
Software testing
Software testingSoftware testing
Software testing
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Unit testing
Unit testingUnit testing
Unit testing
 
Software coding and testing
Software coding and testingSoftware coding and testing
Software coding and testing
 
Integration testing
Integration testingIntegration testing
Integration testing
 
A COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTINGA COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTING
 
Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh          Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh
 
Sftwre engg.testng
Sftwre engg.testngSftwre engg.testng
Sftwre engg.testng
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software Testing
 
Basics of Automation & Manual Software Testing
Basics of Automation & Manual Software TestingBasics of Automation & Manual Software Testing
Basics of Automation & Manual Software Testing
 
What is smoke testing
What is smoke testingWhat is smoke testing
What is smoke testing
 
Types of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and AdvantagesTypes of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and Advantages
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
Software testing
Software testingSoftware testing
Software testing
 
Unit testing
Unit testing Unit testing
Unit testing
 

Similar to Testing concepts

Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
8759000398
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
softwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfsoftwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdf
SHAMSHADHUSAIN9
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
Homa Pourmohammadi
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
Rohit Singh
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
AkshayaM79
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Testbytes
 
softwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptxsoftwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptx
SHAMSHADHUSAIN9
 
Software QA Fundamentals by Prabhath Darshana
Software QA Fundamentals by Prabhath DarshanaSoftware QA Fundamentals by Prabhath Darshana
Software QA Fundamentals by Prabhath Darshana
Shamain Peiris
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Savyasachi14
 
Software Testing
Software TestingSoftware Testing
Software Testing
Inocentshuja Ahmad
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 
Different Software Testing Types and CMM Standard
Different Software Testing Types and CMM StandardDifferent Software Testing Types and CMM Standard
Different Software Testing Types and CMM Standard
Dhrumil Panchal
 
Software testing
Software testingSoftware testing
Software testing
mkn3009
 
Types of testing
Types of testingTypes of testing
Types of testing
Sonam Agarwal
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1FAIZALSAIYED
 
Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSrikanth Krishnamoorthy
 

Similar to Testing concepts (20)

Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
softwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfsoftwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdf
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
softwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptxsoftwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptx
 
Software QA Fundamentals by Prabhath Darshana
Software QA Fundamentals by Prabhath DarshanaSoftware QA Fundamentals by Prabhath Darshana
Software QA Fundamentals by Prabhath Darshana
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Different Software Testing Types and CMM Standard
Different Software Testing Types and CMM StandardDifferent Software Testing Types and CMM Standard
Different Software Testing Types and CMM Standard
 
Software testing
Software testingSoftware testing
Software testing
 
Types of testing
Types of testingTypes of testing
Types of testing
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By Srikanth
 

Recently uploaded

Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 

Recently uploaded (20)

Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 

Testing concepts

  • 2. Foundation level testing concepts Non-Functional testing Test Automation Selenium Tool
  • 3. What is Software Testing  Software Testing is an activity in software development.  It is an investigation performed against a software to provide information about the quality of the software to stakeholders.  Software testing is associated with the two terms. Validation: Are we doing the right job? Verification: Are we doing the job right?
  • 4. Case study "Virtual Show Room" – VSR shows possible models and combinations of extra equipment, and instantly calculates the accurate price of the configured car Suitable payment Place the order online Appropriate insurance Configure their favorite model
  • 6. General Principles of Testing  Principle 1: Testing shows the presence of defects, not their absence.  Principle 2: Exhaustive testing is not possible.  Principle 3: Testing activities should start as early as possible.  Principle 4: Defects tend to cluster together.  Principle 5: The pesticide paradox.  Principle 6: Test is context dependent.  Principle 7: Absence of error fallacy.
  • 7. The General V-Model Unit Testing Component Testing Integration Testing System Testing Acceptance Testing Section II
  • 8. Unit Testing  In this testing we will test individual functionality of modules.  We will test functions and it’s output.  Done By Developer. Admin Module Functions Methods Loop’s Statement’s Example:
  • 9. Component Testing  Component testing is one of the testing technique in which the testing is performed on each individual component separately without integrating with other components. 1 2 3 4 5 Website
  • 10. Integration Testing  In integration Testing, individual software modules are integrated logically and tested as a group. (Incremental and Big Bang Approach) Top Down Approach Bottom Up Approach Lower Modules Lower Modules Higher ModulesHigher Modules
  • 11. System Testing  System Testing is the testing of a complete and fully integrated software product.  Software is interfaced with other software/hardware systems.  System Testing is actually a series of different tests whose sole purpose is to exercise the full computer based system.
  • 12. Acceptance Testing  User acceptance is a type of testing performed by the Client to certify the system with respect to the requirements that was agreed upon.  This testing happens in the final phase of testing before moving the software application to Market.
  • 13. The General V-Model Coding Module Design Software Design System Analysis Requirement Gathering Acceptance Test System Test Integration Test Component Test Verification Validation
  • 14. 1 31 Above Below 320 Below Above Lower Boundary Upper Boundary 1. 1 2. 2 3. 3 4. . 5. 31 1. 31 2. 32 3. 33 4. . 5. .. Invalid Input Valid Input Invalid Input 1. 0 2. -1 3. -2 4. . 5. .. OFF ON Turn ON Turn Off Test Design Techniques of Black Box  The method in which internal structure of the Product is not known to the tester.  4 important software testing techniques-  Equivalence Class Partitioning  Boundary Value Analysis (BVA)  Decision Table based testing.  State Transition
  • 15. Test Design Techniques of White Box  The method in which internal structure of the product is known to developer.  2 important software testing techniques-  Statement Coverage  Branch Coverage
  • 16.  Non-Functional testing Compatibility testing Performance testing Security testing
  • 17.  Functional testing  Functional testing is also known as component testing.  Component’s : test box, check list, drop down, radio button, links, etc..  Is a type of software testing in which software is tested against functional requirements or specifications with the intend to find a bug or defect(s) if any.  Functional testing (verifies, design) is different from System testing (validates, system) .
  • 18. Example: SRS document for Login 1. Login 1.1 username : should accept 8 – 22 character. 1.2 password : should accept 8 – 22 character, special characters are allowed. 1.3 … 2. Forgot Password 2.1 … 2.2 … 3. … Login
  • 19. Compatibility testing  Compatibility Testing is a type of Software testing to check whether your software is capable of running on different hardware, operating systems, network environments or Mobile devices.  Types: There are two types of version checking
  • 20. Compatibility testing Example: Gmail in Old version of Firefox Gmail in New version of Firefox
  • 21. Performance testing  Performance Testing is a type of testing to ensure software applications will perform well under their expected workload.  The focus of Performance Testing is.  Speed - Determines whether the application responds quickly.  Scalability - Determines maximum user load the software application can handle.  Stability - Determines if the application is stable under varying loads
  • 22. Security testing  Security Testing is a variant of Software Testing which ensures, that system and applications in an organization, are free from any loopholes that may cause a big loss.  Security testing of any system is about finding all possible loopholes and weaknesses of the system which might result into a loss of information at the hands of the employees or outsiders of the Organization.
  • 24.  Basic concepts of Test Automation Why Automation? Automation process Automation Tools Types of software testing that can be automated
  • 25. WHY AUTOMATION ?  Manual testing of all work flows, all fields, all negative scenarios is time and cost consuming.  It is difficult to test for multilingual sites manually.
  • 26. CONT.,  Automation does not require human intervention.  Automation increases speed of test execution and test coverage.
  • 27. DISADVANTAGE Its not easy Automation Script error Complexity Debugging
  • 28. CAN EVERYTHING BE AUTOMATED ?? There are cases when automating is not required or feasible.  Application is changing in near future.  Very tight deadline.
  • 29. AUTOMATION PROCESS Test tool selection Define the scope of Automation Planning, Design, and Development Test Execution Maintenance
  • 30. Features HP QTP IBM RFT Selenium License Required Required Open Source Cost High High Free Customer Supp. Yes Yes Yes: OSC Coding Skills Low Low Very High Environment Supp. Windows Windows Windows , Linux, Mac Automation Tools
  • 31. TYPES OF SOFTWARE TESTING THAT CAN BE AUTOMATED 1. Unit Testing 2. Integration Testing 3. Functional Testing 4. Regression Testing 5. Black Box Testing
  • 32.  SELENIUM What is Selenium Why use selenium Versions and suite of Tools. How to set-up selenium Hands-on!
  • 33. WHAT IS SELENIUM “Selenium is an open-source tool that can automate almost any web browser “  Selenium can only be used to test web applications.  Selenium is fast and easy to use even with large set of data, and has guaranteed accuracy.
  • 34. WHY USE SELENIUM Being open-source, selenium is available for free. Selenium works good with any operating system. Selenium lets you perform tests on any web browser. Selenium supports for multiple programming languages.
  • 35. VERSIONS AND SUITE OF TOOLS  Selenium RC  Selenium IDE  Selenium WebDriver
  • 36. HOW TO SET-UP SELENIUM JAVA Eclipse Selenium https://www.seleniumhq.org/download/
  • 37. TEST CASE EXAMPLE 1 :  Search Some text in Bing search engine 1> 2 >
  • 38. TEST CASE EXAMPLE 2 :  Creating Facebook using selenium automation 1> 2 >