What is All pairs Testing?
What is All pairs Testing?
All-pairs also known as pairwise testing is a testing approach taken for testing the software using combinatorial method. It's a method to test all the possible discrete combinations of the parameters involved.
Assume we have a piece of software to be tested which has got 10 input fields and 10 possible settings for each input field. Then, there are 10^10 possible inputs to be tested. In this case, exhaustive testing is impossible even if we wish to test all combinations.
Let us also understand the concept of All-pairs testing by taking an example.
Example
An application with simple list box with 10 elements (Let's say 0,1,2,3,4,5,6,7,8,9) along with a checkbox, radio button, Text Box and OK Button. The Constraint for the Text box is it can accept values only between 1 and 100. Below are the values that each one of the GUI objects can take:
List Box - 0,1,2,3,4,5,6,7,8,9
Check Box - Checked or Unchecked
Radio Button - ON or OFF
Text Box - Any Value between 1 and 100
Exhaustive combination of the application is calculated.
List Box = 10 Check Box = 2
Radio Button = 2
Text Box = 100
Total Number of Test Cases using Cartesian Method : 10*2*2*100 = 4000
Total Number of Test Cases including Negative Cases will be > 4000
Now, the idea is to bring down the number of test cases. We will first try to find out the number of cases using the conventional software testing technique. We can consider the list box values as 0 and others as 0 is neither positive nor negative. Radio button and check box values cannot be reduced. So each one of them will have 2 combinations (ON or OFF). The Text box values can be reduced into three inputs (Valid Integer, Invalid Integer, Alpha-Special Character).
Now, we will calculate the number of cases using software testing technique is 2*2*2*3 = 24 (including negative cases).
Now, we can still reduce the combination further into All-pairs technique.
Step 1 : Order the values such that one with most number of values is the first and the least is placed as the last variable.
Step 2 : Now, start filling the table column by column. List box can take 2 values.
Step 3 : The next column under discussion would be check box. Again, Check box can take 2 values.
Step 4 : Now, we need to ensure that we cover all combinations between list box and Check box.
Step 5 : Now, we will use the same strategy for checking the Radio Button. It can take 2 values.
Step 6 : Verify if all the pair values are covered as shown in the table below.
Text Box | List Box | Check Box | Radio Button |
---|---|---|---|
Valid Int | 0 | check | ON |
Valid Int | others | uncheck | OFF |
Invalid Int | 0 | check | ON |
Invalid Int | others | uncheck | OFF |
AlphaSpecialCharacter | 0 | check | ON |
AlphaSpecialCharacter | others | uncheck | OFF |
Result of Pair-Wise Testing:
Exhaustive Combination results in > 4000 Test Cases.
Conventional Software Testing technique results in 24 Test Cases.
Pair Wise Software Testing technique results in just 6 Test Cases.
- All
- Agile Testing
- Bug/Defect
- Certification
- Conferences
- Database Testing
- Functional Test
- Integration Testing
- Interview
- Java Testing
- Magazine
- Manual Testing
- Methodology
- Mobile Testing
- Network Testing
- Performance Test
- Requirement
- Review
- Risk Management
- Security Testing
- Software Testing
- Standard
- System Testing
- Test Automation
- Test Case
- Test Data
- Test Environment
- Test Estimation
- Test Management
- Tester Career
- Testing News
- Test Plan
- Unit Testing
- Video Tutorial
- Web Testing
- Webinar
Number | Title | Author | Date | Votes | Views |
20613 |
SileniusStor is specialized in reselling Cheap Aquafadas software online.
Softwareces
|
2022.09.15
|
Votes 0
|
Views 10682512
|
Softwareces | 2022.09.15 | 0 | 10682512 |
20612 |
CSStore is specialized in reselling Cheap Steinberg software online.
Softwareces
|
2022.09.04
|
Votes 0
|
Views 10563843
|
Softwareces | 2022.09.04 | 0 | 10563843 |
20611 |
Software Tester Community Website
ItSeTsQtBer
|
2021.04.11
|
Votes 0
|
Views 11495366
|
ItSeTsQtBer | 2021.04.11 | 0 | 11495366 |
20610 |
SoapUI Certification Course Content
Steveskok
|
2021.02.08
|
Votes 0
|
Views 11269731
|
Steveskok | 2021.02.08 | 0 | 11269731 |
20609 |
JavaScript Course Content
Steveskok
|
2021.02.08
|
Votes 0
|
Views 11301778
|
Steveskok | 2021.02.08 | 0 | 11301778 |
20608 |
Why most mobile testing is not continuous?
(TestExpert)
|
2021.02.04
|
Votes 0
|
Views 11866696
|
(TestExpert) | 2021.02.04 | 0 | 11866696 |
20607 |
8 Common Mistakes When Planning and Documenting Your Tests
(TestExpert)
|
2021.02.04
|
Votes 0
|
Views 11505418
|
(TestExpert) | 2021.02.04 | 0 | 11505418 |
20606 |
Types of Performance Testing
Jamessmith
|
2021.01.17
|
Votes 0
|
Views 11228348
|
Jamessmith | 2021.01.17 | 0 | 11228348 |
20605 |
How to Build E2E Test Cases (1)
tanthanh
|
2020.05.28
|
Votes 0
|
Views 11524308
|
tanthanh | 2020.05.28 | 0 | 11524308 |
20604 |
[White Paper] Delivering better software using Test Automation
tanthanh
|
2020.05.28
|
Votes 0
|
Views 10739438
|
tanthanh | 2020.05.28 | 0 | 10739438 |
20603 |
[Whitepaper] How to choose the right API Testing Solution
tanthanh
|
2020.05.28
|
Votes 0
|
Views 11234983
|
tanthanh | 2020.05.28 | 0 | 11234983 |
20602 |
[Whitepaper] How to choose the right API Testing Solution
tanthanh
|
2020.05.28
|
Votes 0
|
Views 11199495
|
tanthanh | 2020.05.28 | 0 | 11199495 |
20601 |
TestOps Introduction
VTB
|
2020.03.23
|
Votes 0
|
Views 11023265
|
VTB | 2020.03.23 | 0 | 11023265 |
20600 |
TestOps Implementation Case Study
VTB
|
2020.03.23
|
Votes 0
|
Views 11859758
|
VTB | 2020.03.23 | 0 | 11859758 |
20599 |
Selenium Automation Tester Certification Sample Exam Set 3
(TestExpert)
|
2020.02.03
|
Votes 0
|
Views 11252454
|
(TestExpert) | 2020.02.03 | 0 | 11252454 |
20598 |
Selenium Automation Tester Certification Sample Exam Set 2
(TestExpert)
|
2020.02.03
|
Votes 0
|
Views 11389153
|
(TestExpert) | 2020.02.03 | 0 | 11389153 |
20597 |
Selenium Automation Tester Certification : Sample Exam Set 1
(TestExpert)
|
2020.02.03
|
Votes 0
|
Views 10993895
|
(TestExpert) | 2020.02.03 | 0 | 10993895 |
20596 |
What is agile testing? why is agile testing? and what is the benefits? (20)
oishichip
|
2019.12.26
|
Votes 0
|
Views 11737807
|
oishichip | 2019.12.26 | 0 | 11737807 |
20595 |
Crowd Testing — Vantagens para testadores, plataformas e clientes [pt-br]
soikmd2
|
2019.12.14
|
Votes 0
|
Views 11386922
|
soikmd2 | 2019.12.14 | 0 | 11386922 |
20594 |
Software Testing Industry Report (Turkey) 2018-2019 (2)
ItSeTsQtB
|
2019.08.08
|
Votes 0
|
Views 11672015
|
ItSeTsQtB | 2019.08.08 | 0 | 11672015 |
20593 |
How to bypass security in integration tests in ASP.Net Core
ItSeTsQtB
|
2019.08.08
|
Votes 0
|
Views 12000010
|
ItSeTsQtB | 2019.08.08 | 0 | 12000010 |
20592 |
For agile testing, fail fast with test impact analysis
ItSeTsQtB
|
2019.08.08
|
Votes 0
|
Views 11457421
|
ItSeTsQtB | 2019.08.08 | 0 | 11457421 |
20591 |
Career Path in Software Testing
^Software^
|
2019.07.28
|
Votes 0
|
Views 11638261
|
^Software^ | 2019.07.28 | 0 | 11638261 |
20590 |
Challenges in Big Data Testing
^Software^
|
2019.07.22
|
Votes 0
|
Views 11461698
|
^Software^ | 2019.07.22 | 0 | 11461698 |
20589 |
Essential Necessities In Big Data Testing
^Software^
|
2019.07.22
|
Votes 0
|
Views 11334037
|
^Software^ | 2019.07.22 | 0 | 11334037 |
20588 |
5 Test Data Generation Techniques
^Software^
|
2019.07.22
|
Votes 0
|
Views 11742698
|
^Software^ | 2019.07.22 | 0 | 11742698 |
20587 |
CI and CD for ETL (Extract-Transform-Load) testing.
^Software^
|
2019.07.22
|
Votes 0
|
Views 11384026
|
^Software^ | 2019.07.22 | 0 | 11384026 |
20586 |
Quest for Quality Conference : 5-6 Nov 2019 at Dublin, Ireland
VTB
|
2019.07.08
|
Votes 0
|
Views 11038869
|
VTB | 2019.07.08 | 0 | 11038869 |
20585 |
TestBash Essentials Conference 2019
VTB
|
2019.07.08
|
Votes 0
|
Views 11416108
|
VTB | 2019.07.08 | 0 | 11416108 |
20584 |
UKSTAR Conference : 11-03-2019
VTB
|
2019.07.08
|
Votes 0
|
Views 11234966
|
VTB | 2019.07.08 | 0 | 11234966 |
20583 |
Testing in Context Conference Australia (TiCCA) 2019
VTB
|
2019.07.08
|
Votes 0
|
Views 11400908
|
VTB | 2019.07.08 | 0 | 11400908 |
20582 |
European Testing Conference 2019
VTB
|
2019.07.08
|
Votes 0
|
Views 11461892
|
VTB | 2019.07.08 | 0 | 11461892 |
20581 |
Automation Guild Online Conference 2019
VTB
|
2019.07.08
|
Votes 0
|
Views 11655975
|
VTB | 2019.07.08 | 0 | 11655975 |
20580 |
Software Quality Days 2019 : 15 Jan 2019 (1)
VTB
|
2019.07.08
|
Votes 0
|
Views 11490420
|
VTB | 2019.07.08 | 0 | 11490420 |
20579 |
Skills required to become a Software Tester (1)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 11051201
|
IT-Tester | 2019.07.08 | 0 | 11051201 |
20578 |
Automated Unit Testing with Randoop, JWalk and µJava versus Manual JUnit Testing
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 11094582
|
IT-Tester | 2019.07.08 | 0 | 11094582 |
20577 |
Scrum Testing Guide Book (2)
IT-Tester
|
2019.06.26
|
Votes 0
|
Views 10927549
|
IT-Tester | 2019.06.26 | 0 | 10927549 |
20576 |
Acceptance Testing Definition in Testing vs Scrum
IT-Tester
|
2019.06.26
|
Votes 0
|
Views 11047703
|
IT-Tester | 2019.06.26 | 0 | 11047703 |
20575 |
User Acceptance Testing Checklist
VTB
|
2019.06.20
|
Votes 0
|
Views 11134913
|
VTB | 2019.06.20 | 0 | 11134913 |
20574 |
Firewalls and Types (1)
VTB
|
2018.11.14
|
Votes 0
|
Views 11005274
|
VTB | 2018.11.14 | 0 | 11005274 |
20573 |
Senior Test Engineer (1)
VTB
|
2018.11.05
|
Votes 0
|
Views 11483244
|
VTB | 2018.11.05 | 0 | 11483244 |
20572 |
Junior Test Analyst
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11391606
|
kornadian2 | 2018.11.04 | 0 | 11391606 |
20571 |
Senior Test Engineer
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11461655
|
kornadian2 | 2018.11.04 | 0 | 11461655 |
20570 |
Programme Test Manager, 12m, Immed Start, $NEG
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11479502
|
kornadian2 | 2018.11.04 | 0 | 11479502 |
20569 |
Junior Test Analyst
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11376374
|
kornadian2 | 2018.11.04 | 0 | 11376374 |
20568 |
Dev & Test Manager
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11234839
|
kornadian2 | 2018.11.04 | 0 | 11234839 |
20567 |
Senior Test Analyst (Performance Tester)
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11227891
|
kornadian2 | 2018.11.04 | 0 | 11227891 |
20566 |
QA Automation Test Analyst
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11258041
|
kornadian2 | 2018.11.04 | 0 | 11258041 |
20565 |
Software/Field Testing Engineer
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11087387
|
kornadian2 | 2018.11.04 | 0 | 11087387 |
20564 |
Compliance Technician (Tester)
kornadian2
|
2018.11.04
|
Votes 0
|
Views 11355732
|
kornadian2 | 2018.11.04 | 0 | 11355732 |