SlideShare una empresa de Scribd logo
1 de 5
Descargar para leer sin conexión
1
Black box testing
What is Black Box testing ?
• Testing without having an insight into the
details of underlying code
input Unit output
• Testing based on specification
What is Black Box testing ?
• Ignores internal mechanism of a system.
• Perform output correctness tests
• Focuses on output generated (responses to
selected input and execution conditions)
• Conducted to evaluate the compliance of a
system or component with specified functional
requirements.
• Identifies bugs only according to software
malfunctions as they are revealed in its
erroneous outputs.
Error Guessing
• Adhoc approach based on experience
• Approach:
1. Make list of possible errors or error-prone
situations
 
error model
2. Design test-cases
• to cover error model
• Develop and maintain your own error models
Error Guessing
• Example sorting array function
• Error model:
– empty array
– already sorted array
– reverse-sorted array
– large unsorted array
– ...
• Generate test cases for these situations
Equivalence Classes (EC)
Partitioning
• A set of input variable values that produce
the same output results or are processed
identically
• Aim at increasing the efficiency of testing
• Improve coverage of potential error
conditions
2
• Defined by a single/group/range of numeric or
alphabetic value. In cases where a program’s
input is provided by several variables, valid and
invalid ECs should be defined for each
variables.
• e.g. Instead of dealing with, a set of 'ages' from
{0-140},
• - create a set of 'male insurance rate calculation
and application age' equivalence classes are:
{young{0-12}, teen{13-19}, adult{20-35},mature{36-
64},retired{65-140}}.
Test cases and boundary values
• Errors tend to occur near extreme values
(boundaries)
• If EC cover a range of values (e.g. monthly
income, apartment area), testing border
values should be considered.
• e.g three test cases : mid range, lower
boundary and upper boundary values.
$5.50$5.50$12$12$4$4$8$8Age: 60.01-
120.00
$8$7$18$15$6$5$17$10Age 16.01-
60.00
$4$3.50$9$7.50$3$2.50$6$5Age: 0.00-
16.00
19.01
-
24.00
6.00-
19.00
19.01-
24.00
6.00-
19.00
19.01-
24.00
6.00-
19.00
19.01-
24.00
6.00-
19.00
Entry
hour
MemMemOtOtMemMemOtOtVisitor’s
status
Mon., Tue., Wed., Thu, Fri. Sat., Sun.Day
Invalid visitor’s age150.17.55OtMon.15
Invalid visitor’s ageTTR7.55OtMon.14
Invalid entry hour8.48@OtMon.13
Invalid entry hour8.44.40OtMon.12
Invalid visitor’s status8.47.5588Mon.11
Invalid day8.47.55OtMox.10Invalid ECs
$5.50120.024.00MemSat.9
$5.5060.0124.00MemSat.8
$860.019.01MemSat.7
$816.0119.01MemSat.6
$3.5016.019.00MemSat.5
$3.500.06.00MemSat.4
$5.5065.022.44MemSat.3
$842.720.44MemSat.2
$58.47.55OtMon.1Valid ECs
Test case resultVisitor’s
age
Entry
hour
Visitor’s
status
Day
of
week
Test
case
no.
Test
case
type
Operation factor testing classes
1. Training usability tests
2. Operational Usability
tests
Usability
Software system security
tests
Integrity
Stress tests (load and
durability tests)
Efficiency
Reliability testsReliability
1. Documentation tests
2. Availability (reaction
time) tests
Correctness
Test classQuality requirements
factor
Correctness - Documentation Tests
• Erroneous user manual/programmer
manual can lead to mistakes during
program operation and maintenance.
- functional description of software system,
installation manual, user manual, programmer
manual.
• Completeness check
• Correctness tests
• Document style and editing inspection
3
Correctness - Availability tests
• Reaction time - Time required to obtain
requested information or for firmware
installed in computerized equipment to
react.
Reliability Tests
• Deals with features that can be translated
as events occurring over time.
• e.g – average time for recovery after
system failure (15 minutes).
- average downtime per month ( 30
minutes per month)
• Constraint for reliability test is the scope of
resources required.
Efficiency - Stress Test
• Load test – functional performance of
system under maximal operational load.
e.g: maximal transaction per minute, hits
per minute to an Internet site.
• Durability test – carried out in physically
extreme operating conditions. e.g: high
temperatures, humidity.
Integrity – Security tests
• Aim at preventing unauthorized access,
detection of unauthorized access, recovery of
damages caused by unauthorized penetration
cases.
• Issues:
- access control (password, firewall systems)
- backup of database and software files
- logging of transactions, system usage, access
trials
Usability – Training tests
• Resources needed to train new employee.
e.g: how many hours needed to train new
employee to achieve a defined level of
acquaintance with the system.
• Result – a sophisticated plan of training
courses and improved directions for
software system operation.
Usability – Operational usability tests
• Focus on operator’s productivity.
• Can be performed manually by means of
time studies.
• Provide insight into performance levels
and initiate ideas for improvements.
4
Revision factor testing classes
• To assure software package successful,
long service and successful sales to larger
user populations.
- Maintainability tests
- Flexibility tests
- Testability tests
Maintainability tests
• System structure abides by standards and
development procedures.
• Programmers manual prepared according
to approved documentation standards
• The internal documentation incorporated
in the software code is prepared according
to coding procedures and conventions.
Flexibility tests
• Efforts required to adapt the software to
the variety of customer needs, changes
initiated by customers and maintenance
teams
• System capabilities based on structural
and programming characteristics.
• E.g : adequate modular structure.
Testability tests
• Relates to the addition features in the
program that help testers in their work.
• e.g: possibility of obtaining intermediate
results for certain checkpoints and
predefined log files.
Transition factor testing classes
• Portability tests – specify the environment in
which the system has to be operable.
• Reusability tests – defines which part of
program are to be developed for future reuse.
• Tests for interoperability requirements:
- software interfacing tests – deals with
software capabilities of interfacing equipment
and other software packages.
- equipment interfacing tests – deals with
equipment’s firmware interfacing other software
packages.
Advantages of Black Box Testing
• Allows us to carry out the majority of
testing classes, most of which can be
implemented solely by black box tests, i.e.
load tests and availability tests.
• For testing classes that can be carried out
by both white and black box tests, black
box testing requires fewer resources.
5
Disadvantages of Black Box Testing
• Possibility that coincidental aggregation of
several errors will produce the correct response
for a test case, and prevent error detection.
• Absence of control of line coverage. There is no
easy way to specify the parameters of the test
cases required to improve coverage.
• Impossibility of testing the quality of coding and
its strict adherence to the coding standards.

Más contenido relacionado

La actualidad más candente

Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designMaitree Patel
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniquesFincy V.J
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11Abdul Basit
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Mani Kanth
 
White box testing-200709
White box testing-200709White box testing-200709
White box testing-200709pragati3009
 
White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testingHimanshu
 
Unit 5 testing -software quality assurance
Unit 5  testing -software quality assuranceUnit 5  testing -software quality assurance
Unit 5 testing -software quality assurancegopal10scs185
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testingpooja deshmukh
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing FundamentalsKiran Kumar
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisniharika5412
 
Black box testing or behavioral testing
Black box testing or behavioral testingBlack box testing or behavioral testing
Black box testing or behavioral testingSlideshare
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test typeHoangThiHien1
 

La actualidad más candente (20)

Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
 
Test cases
Test casesTest cases
Test cases
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
White box testing-200709
White box testing-200709White box testing-200709
White box testing-200709
 
White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testing
 
Unit 5 testing -software quality assurance
Unit 5  testing -software quality assuranceUnit 5  testing -software quality assurance
Unit 5 testing -software quality assurance
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
 
Black box testing or behavioral testing
Black box testing or behavioral testingBlack box testing or behavioral testing
Black box testing or behavioral testing
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test type
 
Effective Software Test Case Design Approach
Effective Software Test Case Design ApproachEffective Software Test Case Design Approach
Effective Software Test Case Design Approach
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Black box testing
Black box testingBlack box testing
Black box testing
 

Destacado

Transboundary cooperation in the Sava river basin (IWC6 Presentation)
Transboundary cooperation in the Sava river basin (IWC6 Presentation)Transboundary cooperation in the Sava river basin (IWC6 Presentation)
Transboundary cooperation in the Sava river basin (IWC6 Presentation)Iwl Pcu
 
хуен бхMo
хуен бхMoхуен бхMo
хуен бхMobongxinh19
 

Destacado (8)

1327324685
13273246851327324685
1327324685
 
Huong dan xu phat vi pham hanh chinh ve hoa don
Huong dan xu phat vi pham hanh chinh ve hoa don Huong dan xu phat vi pham hanh chinh ve hoa don
Huong dan xu phat vi pham hanh chinh ve hoa don
 
Reclamos
ReclamosReclamos
Reclamos
 
Euroforensics 2012
Euroforensics   2012Euroforensics   2012
Euroforensics 2012
 
Transboundary cooperation in the Sava river basin (IWC6 Presentation)
Transboundary cooperation in the Sava river basin (IWC6 Presentation)Transboundary cooperation in the Sava river basin (IWC6 Presentation)
Transboundary cooperation in the Sava river basin (IWC6 Presentation)
 
Bang
BangBang
Bang
 
"Sắm sửa" Sologan
"Sắm sửa" Sologan"Sắm sửa" Sologan
"Sắm sửa" Sologan
 
хуен бхMo
хуен бхMoхуен бхMo
хуен бхMo
 

Similar a G53 qat09pdf6up

Software testing part
Software testing partSoftware testing part
Software testing partPreeti Mishra
 
<p>Software Testing</p>
<p>Software Testing</p><p>Software Testing</p>
<p>Software Testing</p>Atul Mishra
 
An overview to Software Testing
An overview to Software TestingAn overview to Software Testing
An overview to Software TestingAtul Mishra
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing IntroEvozon Test Lab
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfFarjanaParvin5
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxabdullahsaddique2
 
Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Taymoor Nazmy
 
Testing strategies -2
Testing strategies -2Testing strategies -2
Testing strategies -2Divya Tiwari
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysisWBUTTUTORIALS
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tacticsPreeti Mishra
 
Software engineering quality assurance and testing
Software engineering quality assurance and testingSoftware engineering quality assurance and testing
Software engineering quality assurance and testingBipul Roy Bpl
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_designTestingGeeks
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4SIMONTHOMAS S
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhardeepikakaler1
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhianadeepikakaler1
 

Similar a G53 qat09pdf6up (20)

Software testing part
Software testing partSoftware testing part
Software testing part
 
<p>Software Testing</p>
<p>Software Testing</p><p>Software Testing</p>
<p>Software Testing</p>
 
An overview to Software Testing
An overview to Software TestingAn overview to Software Testing
An overview to Software Testing
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing Intro
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptx
 
testing
testingtesting
testing
 
Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--
 
Testing
TestingTesting
Testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 
Testing strategies -2
Testing strategies -2Testing strategies -2
Testing strategies -2
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
 
Software engineering quality assurance and testing
Software engineering quality assurance and testingSoftware engineering quality assurance and testing
Software engineering quality assurance and testing
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_design
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
SOFTWARE TESTING W4_watermark.pdf
SOFTWARE TESTING W4_watermark.pdfSOFTWARE TESTING W4_watermark.pdf
SOFTWARE TESTING W4_watermark.pdf
 

Más de Kuaci Pedas

Technical report
Technical reportTechnical report
Technical reportKuaci Pedas
 
Proposal of training_project
Proposal of training_projectProposal of training_project
Proposal of training_projectKuaci Pedas
 
Post mortem report
Post mortem reportPost mortem report
Post mortem reportKuaci Pedas
 
Part 3 write_it_right_latest
Part 3 write_it_right_latestPart 3 write_it_right_latest
Part 3 write_it_right_latestKuaci Pedas
 
Part 1 transferable_skills
Part 1 transferable_skillsPart 1 transferable_skills
Part 1 transferable_skillsKuaci Pedas
 
Learningstylesurvey maxsa ig
Learningstylesurvey maxsa igLearningstylesurvey maxsa ig
Learningstylesurvey maxsa igKuaci Pedas
 
Groupworkquestionnaire
GroupworkquestionnaireGroupworkquestionnaire
GroupworkquestionnaireKuaci Pedas
 

Más de Kuaci Pedas (9)

Technical report
Technical reportTechnical report
Technical report
 
Proposal of training_project
Proposal of training_projectProposal of training_project
Proposal of training_project
 
Post mortem report
Post mortem reportPost mortem report
Post mortem report
 
Part 3 write_it_right_latest
Part 3 write_it_right_latestPart 3 write_it_right_latest
Part 3 write_it_right_latest
 
Part 1 transferable_skills
Part 1 transferable_skillsPart 1 transferable_skills
Part 1 transferable_skills
 
Learningstylesurvey maxsa ig
Learningstylesurvey maxsa igLearningstylesurvey maxsa ig
Learningstylesurvey maxsa ig
 
Groupworkquestionnaire
GroupworkquestionnaireGroupworkquestionnaire
Groupworkquestionnaire
 
Group dynamics
Group dynamicsGroup dynamics
Group dynamics
 
Team
TeamTeam
Team
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

G53 qat09pdf6up

  • 1. 1 Black box testing What is Black Box testing ? • Testing without having an insight into the details of underlying code input Unit output • Testing based on specification What is Black Box testing ? • Ignores internal mechanism of a system. • Perform output correctness tests • Focuses on output generated (responses to selected input and execution conditions) • Conducted to evaluate the compliance of a system or component with specified functional requirements. • Identifies bugs only according to software malfunctions as they are revealed in its erroneous outputs. Error Guessing • Adhoc approach based on experience • Approach: 1. Make list of possible errors or error-prone situations   error model 2. Design test-cases • to cover error model • Develop and maintain your own error models Error Guessing • Example sorting array function • Error model: – empty array – already sorted array – reverse-sorted array – large unsorted array – ... • Generate test cases for these situations Equivalence Classes (EC) Partitioning • A set of input variable values that produce the same output results or are processed identically • Aim at increasing the efficiency of testing • Improve coverage of potential error conditions
  • 2. 2 • Defined by a single/group/range of numeric or alphabetic value. In cases where a program’s input is provided by several variables, valid and invalid ECs should be defined for each variables. • e.g. Instead of dealing with, a set of 'ages' from {0-140}, • - create a set of 'male insurance rate calculation and application age' equivalence classes are: {young{0-12}, teen{13-19}, adult{20-35},mature{36- 64},retired{65-140}}. Test cases and boundary values • Errors tend to occur near extreme values (boundaries) • If EC cover a range of values (e.g. monthly income, apartment area), testing border values should be considered. • e.g three test cases : mid range, lower boundary and upper boundary values. $5.50$5.50$12$12$4$4$8$8Age: 60.01- 120.00 $8$7$18$15$6$5$17$10Age 16.01- 60.00 $4$3.50$9$7.50$3$2.50$6$5Age: 0.00- 16.00 19.01 - 24.00 6.00- 19.00 19.01- 24.00 6.00- 19.00 19.01- 24.00 6.00- 19.00 19.01- 24.00 6.00- 19.00 Entry hour MemMemOtOtMemMemOtOtVisitor’s status Mon., Tue., Wed., Thu, Fri. Sat., Sun.Day Invalid visitor’s age150.17.55OtMon.15 Invalid visitor’s ageTTR7.55OtMon.14 Invalid entry hour8.48@OtMon.13 Invalid entry hour8.44.40OtMon.12 Invalid visitor’s status8.47.5588Mon.11 Invalid day8.47.55OtMox.10Invalid ECs $5.50120.024.00MemSat.9 $5.5060.0124.00MemSat.8 $860.019.01MemSat.7 $816.0119.01MemSat.6 $3.5016.019.00MemSat.5 $3.500.06.00MemSat.4 $5.5065.022.44MemSat.3 $842.720.44MemSat.2 $58.47.55OtMon.1Valid ECs Test case resultVisitor’s age Entry hour Visitor’s status Day of week Test case no. Test case type Operation factor testing classes 1. Training usability tests 2. Operational Usability tests Usability Software system security tests Integrity Stress tests (load and durability tests) Efficiency Reliability testsReliability 1. Documentation tests 2. Availability (reaction time) tests Correctness Test classQuality requirements factor Correctness - Documentation Tests • Erroneous user manual/programmer manual can lead to mistakes during program operation and maintenance. - functional description of software system, installation manual, user manual, programmer manual. • Completeness check • Correctness tests • Document style and editing inspection
  • 3. 3 Correctness - Availability tests • Reaction time - Time required to obtain requested information or for firmware installed in computerized equipment to react. Reliability Tests • Deals with features that can be translated as events occurring over time. • e.g – average time for recovery after system failure (15 minutes). - average downtime per month ( 30 minutes per month) • Constraint for reliability test is the scope of resources required. Efficiency - Stress Test • Load test – functional performance of system under maximal operational load. e.g: maximal transaction per minute, hits per minute to an Internet site. • Durability test – carried out in physically extreme operating conditions. e.g: high temperatures, humidity. Integrity – Security tests • Aim at preventing unauthorized access, detection of unauthorized access, recovery of damages caused by unauthorized penetration cases. • Issues: - access control (password, firewall systems) - backup of database and software files - logging of transactions, system usage, access trials Usability – Training tests • Resources needed to train new employee. e.g: how many hours needed to train new employee to achieve a defined level of acquaintance with the system. • Result – a sophisticated plan of training courses and improved directions for software system operation. Usability – Operational usability tests • Focus on operator’s productivity. • Can be performed manually by means of time studies. • Provide insight into performance levels and initiate ideas for improvements.
  • 4. 4 Revision factor testing classes • To assure software package successful, long service and successful sales to larger user populations. - Maintainability tests - Flexibility tests - Testability tests Maintainability tests • System structure abides by standards and development procedures. • Programmers manual prepared according to approved documentation standards • The internal documentation incorporated in the software code is prepared according to coding procedures and conventions. Flexibility tests • Efforts required to adapt the software to the variety of customer needs, changes initiated by customers and maintenance teams • System capabilities based on structural and programming characteristics. • E.g : adequate modular structure. Testability tests • Relates to the addition features in the program that help testers in their work. • e.g: possibility of obtaining intermediate results for certain checkpoints and predefined log files. Transition factor testing classes • Portability tests – specify the environment in which the system has to be operable. • Reusability tests – defines which part of program are to be developed for future reuse. • Tests for interoperability requirements: - software interfacing tests – deals with software capabilities of interfacing equipment and other software packages. - equipment interfacing tests – deals with equipment’s firmware interfacing other software packages. Advantages of Black Box Testing • Allows us to carry out the majority of testing classes, most of which can be implemented solely by black box tests, i.e. load tests and availability tests. • For testing classes that can be carried out by both white and black box tests, black box testing requires fewer resources.
  • 5. 5 Disadvantages of Black Box Testing • Possibility that coincidental aggregation of several errors will produce the correct response for a test case, and prevent error detection. • Absence of control of line coverage. There is no easy way to specify the parameters of the test cases required to improve coverage. • Impossibility of testing the quality of coding and its strict adherence to the coding standards.