SlideShare una empresa de Scribd logo
1 de 28
Test ExecutionTest Execution
& Reporting& Reporting
AgendaAgenda
 General Test procedureGeneral Test procedure
 Executing testsExecuting tests
Set up systems and softwareSet up systems and software
Execute test casesExecute test cases
 Verifying and analyzing resultsVerifying and analyzing results
 ReportingReporting
General Test ProcedureGeneral Test Procedure
A Single test normally includes three steps:A Single test normally includes three steps:
 PlanningPlanning
 ExecutionExecution
 EvaluationEvaluation
Tester Plan testing
Execute
testing
Evaluate
testing
General Test ProcedureGeneral Test Procedure
Plan testing
Execute testing
Evaluate testing
If I click OK, without input into text
field, the application will probably
crash.
Let’s see if it does
It sure did!
PlanningPlanning
 It is the first step to determine what should be tested. AlsoIt is the first step to determine what should be tested. Also
referred as test case design.referred as test case design.
 Design the test cases (inputs and outputs) used to test theDesign the test cases (inputs and outputs) used to test the
system:system:
 Identify the test case (Identify the test case (What has to be testedWhat has to be tested).).
 Specify the test activities(Specify the test activities( How to proceedHow to proceed).).
 Indicate how test results should be defined (Indicate how test results should be defined (Correct outcomeCorrect outcome).).
ExecutionExecution
It’s Show Time!It’s Show Time!
Execution of a test is a three stepExecution of a test is a three step
Process:Process:
 Preparing the Test InfrastructurePreparing the Test Infrastructure
 Conduct Test.Conduct Test.
 Verify Results and Report Results.Verify Results and Report Results.
Prepare Test InfrastructurePrepare Test Infrastructure
 The prepare Test Infrastructure taskThe prepare Test Infrastructure task
ensures that all the components such asensures that all the components such as
technical resources, human resources,technical resources, human resources,
configuration, data, and test designconfiguration, data, and test design
specification are in place for successfulspecification are in place for successful
execution of the test.execution of the test.
 The key to setting up the testingThe key to setting up the testing
environment is to establish a set ofenvironment is to establish a set of
standards that everyone in the project canstandards that everyone in the project can
adhere to.adhere to.
Prepare Test InfrastructurePrepare Test Infrastructure
Establish a set of standards that theEstablish a set of standards that the
organization follows.organization follows.
 The key to setting up the testingThe key to setting up the testing
environment is to establish a set ofenvironment is to establish a set of
standards that everyone in thestandards that everyone in the
project can adhere to.project can adhere to.
PreparePrepare Test InfrastructureTest Infrastructure
 Components of the testingComponents of the testing
environment include:environment include:
Supporting software
An inventory of hardware
The code under test
A workbook or execution logs
PreparePrepare Test InfrastructureTest Infrastructure
Supporting softwareSupporting software
 Includes operating systems, middleware,Includes operating systems, middleware,
system utilities, application, patches and sosystem utilities, application, patches and so
on.on.
 Supporting software is stored on CD orSupporting software is stored on CD or
available on a shared file system.available on a shared file system.
 All supporting software will need to beAll supporting software will need to be
installed in the environment in the exactinstalled in the environment in the exact
sequence required by the components.sequence required by the components.
PreparePrepare Test InfrastructureTest Infrastructure
Supporting softwareSupporting software
 Detailed installation steps will need to be providedDetailed installation steps will need to be provided
to you as part of the implementation of the testto you as part of the implementation of the test
cases.cases.
 When installing multiple supporting softwareWhen installing multiple supporting software
elements, the order of installation is critical to theelements, the order of installation is critical to the
proper functioning of the environment.proper functioning of the environment.
PreparePrepare Test InfrastructureTest Infrastructure
An inventory of hardware:An inventory of hardware:
 Properly setting up the test-execution environmentProperly setting up the test-execution environment
requires to have access the inventory of hardwarerequires to have access the inventory of hardware
that is needed, along with any special instructionsthat is needed, along with any special instructions
for configuring the hardware.for configuring the hardware.
 It is important to ensure that you execute the testIt is important to ensure that you execute the test
case in the exact hardware configuration identifiedcase in the exact hardware configuration identified
by the test cases.by the test cases.
 Tester must confirm that the hardware meets allTester must confirm that the hardware meets all
requirements and specifications such as those forrequirements and specifications such as those for
memory, disk space, processor speeds and so on.memory, disk space, processor speeds and so on.
PreparePrepare Test InfrastructureTest Infrastructure
Code under test:Code under test:
 Code under test, also referred to as a driver or aCode under test, also referred to as a driver or a
build is the packaged new code that is ready to bebuild is the packaged new code that is ready to be
installed and tested.installed and tested.
 Properly preparing the environment for test-caseProperly preparing the environment for test-case
execution also requires that you have access to theexecution also requires that you have access to the
code under test.code under test.
 Code is stored in a well-known place with namingCode is stored in a well-known place with naming
conventions that indicate the exact driver or buildconventions that indicate the exact driver or build
levels.levels.
 Detailed procedures need to be in place to enableDetailed procedures need to be in place to enable
you to install the code accurately and efficiently.you to install the code accurately and efficiently.
PreparePrepare Test InfrastructureTest Infrastructure
Workbook or execution logs:Workbook or execution logs:
 Workbooks and execution logs are used to recordWorkbooks and execution logs are used to record
the test-execution activity.the test-execution activity.
 Workbooks are used when manually running tests,Workbooks are used when manually running tests,
while execution logs are used to capture executionwhile execution logs are used to capture execution
of tests run programmatically.of tests run programmatically.
 Store the log files in a well-known place withStore the log files in a well-known place with
naming conventions to indicate the date capturednaming conventions to indicate the date captured
and the build level being tested.and the build level being tested.
Conduct TestConduct Test
Execute Test caseExecute Test case
 The purpose of the task is toThe purpose of the task is to
implement the test executionimplement the test execution
plan, produce test results, andplan, produce test results, and
compare between the expectedcompare between the expected
test results and actual testtest results and actual test
results.results.
 After set up the environment,After set up the environment,
ready to execute the tests.ready to execute the tests.
 Execute each test exactly asExecute each test exactly as
defined in the test-casedefined in the test-case
implementation.implementation.
Execute Test case – The processExecute Test case – The process
Software
to be tested
Test Case
Output
Verifier
Test Case
Generation
Testing processTesting process
Design test
cases
Prepar e test
data
Run pr ogram
with test da ta
Compar e results
to test cases
Test
cases
Test
data
Test
results
Test
repor ts
InputInput
Actual OutputActual Output
Comparison ProcessComparison Process
Test case : Specifies
• Inputs + pre-test state of
the software
• Expected results (outputs
and state)
Test case : Specifies
• Inputs + pre-test state of
the software
• Expected results (outputs
and state)
Testing policesTesting polices
 Only exhaustive testing can show a programOnly exhaustive testing can show a program
is free from defects. However, exhaustiveis free from defects. However, exhaustive
testing is impossible,testing is impossible,
 Testing policies define the approach to beTesting policies define the approach to be
used in selecting system tests:used in selecting system tests:
• All functions accessed through menusAll functions accessed through menus
should be tested.should be tested.
• Where user input is required, all functionsWhere user input is required, all functions
must be tested with correct and incorrectmust be tested with correct and incorrect
input.input.
Testing guidelinesTesting guidelines
 Testing guidelines are hints for the testingTesting guidelines are hints for the testing
team to help them choose tests that willteam to help them choose tests that will
reveal defects in the systemreveal defects in the system
• Choose inputs that force the system toChoose inputs that force the system to
generate all error messages.generate all error messages.
• Design inputs that cause buffers to overflow.Design inputs that cause buffers to overflow.
• Repeat the same input or input series severalRepeat the same input or input series several
times.times.
• Force invalid outputs to be generated.Force invalid outputs to be generated.
• Force computation results to be too large orForce computation results to be too large or
too small.too small.
Verify the existence of the DefectVerify the existence of the Defect
 Verify that the element under test,Verify that the element under test,
the execution environment and thethe execution environment and the
test case-implementation aretest case-implementation are
consistent with the test case designconsistent with the test case design
 Verify and confirm the discrepancyVerify and confirm the discrepancy
between the expected test resultsbetween the expected test results
and actual test results.and actual test results.
Verify and Analyze ResultsVerify and Analyze Results
Analyze the DefectAnalyze the Defect
 The purpose of the task is toThe purpose of the task is to
analyze and resolve variancesanalyze and resolve variances
encountered during test execution.encountered during test execution.
 Each variance is analyzed toEach variance is analyzed to
determine the cause.determine the cause.
 Analysis may indicate that the causeAnalysis may indicate that the cause
of the variance is a defect, or that aof the variance is a defect, or that a
change request is required.change request is required.
Verify and Analyze ResultsVerify and Analyze Results
Analyze the DefectAnalyze the Defect
 Investigate further andInvestigate further and
gather as muchgather as much
information as possibleinformation as possible
about the symptoms.about the symptoms.
 Analyze failures by varyingAnalyze failures by varying
conditions, options andconditions, options and
settings to gauge thesettings to gauge the
severity of the defectseverity of the defect
Verify and Analyze ResultsVerify and Analyze Results
Analyze failures by varying conditions, options and settingsAnalyze failures by varying conditions, options and settings
 Change theChange the conditionsconditions under which an error occurred byunder which an error occurred by
changing what you do. As an example, if the problem seemschanging what you do. As an example, if the problem seems
related to entering data very quickly, try slowing your rate ofrelated to entering data very quickly, try slowing your rate of
input.input.
 Change theChange the options and settingsoptions and settings of the program underof the program under
test. As an example, if the problem seems related to desktoptest. As an example, if the problem seems related to desktop
screen-resolution settings, try varying the settings.screen-resolution settings, try varying the settings.
 Change theChange the software and hardware environmentsoftware and hardware environment. For. For
example, if the defect seems related to a low-end hardwareexample, if the defect seems related to a low-end hardware
configuration, try using the lowest configuration specified inconfiguration, try using the lowest configuration specified in
the requirements.the requirements.
 Change theChange the datadata used by the program. As an example, if theused by the program. As an example, if the
defect seems related to strings exceeding a certain numberdefect seems related to strings exceeding a certain number
of characters in length, create a second set of test data toof characters in length, create a second set of test data to
check the hypothesis.check the hypothesis.
Verify and Analyze ResultsVerify and Analyze Results
Documenting yourDocumenting your
execution resultsexecution results
 Test logs to recordTest logs to record
test executiontest execution
 Create a testCreate a test
incident report forincident report for
problemsproblems
ReportingReporting
Run Test
Test Logs
ERROR
REPORT
TEST CASES
Verify & Analyze Result
Bug Tracking
Effective defectEffective defect
reportsreports
 Convey the properConvey the proper
message, gets themessage, gets the
job done andjob done and
simplifies thesimplifies the
process forprocess for
everyone.everyone.
 Can Pig RideCan Pig Ride
technique to writetechnique to write
effective incidenteffective incident
reports.reports.
ReportingReporting
C Condense: Say it clearly but briefly
A
Accurate: Is it a user error or set-up problem?
System problem? Application problem?
Test-case problem?
N
Neutral: Just the facts; no zingers, no humor,
no emotion, no sarcasm
P Precise: Explicitly, what is the problem?
I Isolate: What was done to isolate the problem?
G
Generalize: What was done to understand
how general the problem is?
R
Re-create: What is essential to
re-create this problem?
I
Impact: What is the impact if the bug
were to surface in a customer environment
D
Debug: What will the developer
need to debug this problem?
E Evidence: What will prove the existence of the error?
Test-Defect reportTest-Defect report
 The IEEE Std. for Software Test Documentation forThe IEEE Std. for Software Test Documentation for
Test Defect template offers the following fields.Test Defect template offers the following fields.
ReportingReporting
• Incident Summary report Identifier
Specify the unique identifier assigned to this test-defect
report.
•Incident Summary
Summarize the incident. Identify the test items involved,
indicating their version and revision level. Supply references to the
appropriate test-procedure specification, test-case specification and
test log.
 Incident Description
Provide a description of the incident that
includes the following items:
 Inputs
 Expected results
 Actual results
 Date and time
 Procedure steps
 Environment
 Attempts to repeat
 Testers
 Observers
 Related activities and observations
Include any of these that may help to
isolate the correct the cause of the incident.
Test-Defect reportTest-Defect report
 The IEEE Std. for Software Test Documentation forThe IEEE Std. for Software Test Documentation for
Test Defect template offers the following fields.Test Defect template offers the following fields.
ReportingReporting
ResolveResolve
 True defects - referred to the DefectTrue defects - referred to the Defect
Management process.Management process.
 Rated for severity and a priorityRated for severity and a priority
 Change Requests - referred to the ChangeChange Requests - referred to the Change
Management processManagement process
Prioritizes the revision of requirements,Prioritizes the revision of requirements,
the specification, design and constructionthe specification, design and construction
of each item.of each item.
Changed items reenter the test processChanged items reenter the test process
ReportingReporting

Más contenido relacionado

La actualidad más candente

Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Venkatesh Prasad Ranganath
 
Strategies For Software Test Documentation
Strategies For Software Test Documentation Strategies For Software Test Documentation
Strategies For Software Test Documentation Vishwak Solution
 
Configuration testing
Configuration testingConfiguration testing
Configuration testingfarouq umar
 
Testing artifacts test cases
Testing artifacts   test casesTesting artifacts   test cases
Testing artifacts test casesPetro Chernii
 
Requirements Based Testing
Requirements Based TestingRequirements Based Testing
Requirements Based TestingSSA KPI
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and processgouravkalbalia
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testingpingkapil
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assuranceTOPS Technologies
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTsuhasreddy1
 
1 testing fundamentals
1 testing fundamentals1 testing fundamentals
1 testing fundamentalsAsmaa Matar
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testingJorge Ortiz
 
Software Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftware Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftheme
 

La actualidad más candente (20)

Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
 
Strategies For Software Test Documentation
Strategies For Software Test Documentation Strategies For Software Test Documentation
Strategies For Software Test Documentation
 
Software testing overview subbu
Software testing overview subbuSoftware testing overview subbu
Software testing overview subbu
 
Configuration testing
Configuration testingConfiguration testing
Configuration testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Testing artifacts test cases
Testing artifacts   test casesTesting artifacts   test cases
Testing artifacts test cases
 
Requirements Based Testing
Requirements Based TestingRequirements Based Testing
Requirements Based Testing
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and process
 
St
StSt
St
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
Istqb ctfl syll 2011
Istqb ctfl syll 2011Istqb ctfl syll 2011
Istqb ctfl syll 2011
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
1 testing fundamentals
1 testing fundamentals1 testing fundamentals
1 testing fundamentals
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testing
 
Software Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftware Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief Overview
 
Transactionflow
TransactionflowTransactionflow
Transactionflow
 
3.software testing
3.software testing3.software testing
3.software testing
 
Software testing
Software testingSoftware testing
Software testing
 

Similar a Test execution may_04_2006

Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented TestingAMITJain879
 
Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1Techpartnerz
 
12 sdd lesson testing and evaluating
12 sdd lesson testing and evaluating12 sdd lesson testing and evaluating
12 sdd lesson testing and evaluatingMike Cusack
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.Jithinctzz
 
Understanding Test Environments Management
Understanding Test Environments ManagementUnderstanding Test Environments Management
Understanding Test Environments ManagementEnov8
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Test implementation and execution
Test implementation and executionTest implementation and execution
Test implementation and executionUIN SUSKA RIAU
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfBabaShaikh3
 
Test Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps FrameworkTest Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps FrameworkEnov8
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notesonsoftwaretest
 

Similar a Test execution may_04_2006 (20)

Application Testing
Application TestingApplication Testing
Application Testing
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
 
Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1
 
12 sdd lesson testing and evaluating
12 sdd lesson testing and evaluating12 sdd lesson testing and evaluating
12 sdd lesson testing and evaluating
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Understanding Test Environments Management
Understanding Test Environments ManagementUnderstanding Test Environments Management
Understanding Test Environments Management
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
CTFL chapter 06
CTFL chapter 06CTFL chapter 06
CTFL chapter 06
 
STLC-ppt-1.pptx
STLC-ppt-1.pptxSTLC-ppt-1.pptx
STLC-ppt-1.pptx
 
STLC-ppt-1.pptx
STLC-ppt-1.pptxSTLC-ppt-1.pptx
STLC-ppt-1.pptx
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Test implementation and execution
Test implementation and executionTest implementation and execution
Test implementation and execution
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdf
 
STLC-ppt-1.pptx
STLC-ppt-1.pptxSTLC-ppt-1.pptx
STLC-ppt-1.pptx
 
System testing
System testingSystem testing
System testing
 
Test Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps FrameworkTest Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps Framework
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
 
Testing
TestingTesting
Testing
 

Más de SivaprasanthRentala1975 (20)

Testing using load runner performance testing
Testing using load runner  performance testingTesting using load runner  performance testing
Testing using load runner performance testing
 
Why contract savings are missing
Why contract savings are missingWhy contract savings are missing
Why contract savings are missing
 
Voyager scm
Voyager scmVoyager scm
Voyager scm
 
Volumes
VolumesVolumes
Volumes
 
The new mainframe
The new mainframeThe new mainframe
The new mainframe
 
Telecom testing
Telecom testingTelecom testing
Telecom testing
 
Six sigma
Six sigmaSix sigma
Six sigma
 
Sdlc models
Sdlc modelsSdlc models
Sdlc models
 
Sdlc
SdlcSdlc
Sdlc
 
Scm
ScmScm
Scm
 
Pt presentation1
Pt presentation1Pt presentation1
Pt presentation1
 
Pp employee learnnig initiative-iss-220-g tle 2007
Pp employee learnnig initiative-iss-220-g tle 2007Pp employee learnnig initiative-iss-220-g tle 2007
Pp employee learnnig initiative-iss-220-g tle 2007
 
Performance testing and rpt
Performance testing and rptPerformance testing and rpt
Performance testing and rpt
 
Patents
PatentsPatents
Patents
 
Xpediter kanbay
Xpediter kanbayXpediter kanbay
Xpediter kanbay
 
Copy of good quotes.ppt
Copy of good quotes.pptCopy of good quotes.ppt
Copy of good quotes.ppt
 
Contract savings new
Contract savings newContract savings new
Contract savings new
 
Contract savings schema
Contract savings schemaContract savings schema
Contract savings schema
 
Contract savings may 10th 2004 by gm euro
Contract savings may 10th 2004 by gm euroContract savings may 10th 2004 by gm euro
Contract savings may 10th 2004 by gm euro
 
Contract savings job overview
Contract savings job overviewContract savings job overview
Contract savings job overview
 

Último

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Último (20)

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

Test execution may_04_2006

  • 1. Test ExecutionTest Execution & Reporting& Reporting
  • 2. AgendaAgenda  General Test procedureGeneral Test procedure  Executing testsExecuting tests Set up systems and softwareSet up systems and software Execute test casesExecute test cases  Verifying and analyzing resultsVerifying and analyzing results  ReportingReporting
  • 3. General Test ProcedureGeneral Test Procedure A Single test normally includes three steps:A Single test normally includes three steps:  PlanningPlanning  ExecutionExecution  EvaluationEvaluation Tester Plan testing Execute testing Evaluate testing
  • 4. General Test ProcedureGeneral Test Procedure Plan testing Execute testing Evaluate testing If I click OK, without input into text field, the application will probably crash. Let’s see if it does It sure did!
  • 5. PlanningPlanning  It is the first step to determine what should be tested. AlsoIt is the first step to determine what should be tested. Also referred as test case design.referred as test case design.  Design the test cases (inputs and outputs) used to test theDesign the test cases (inputs and outputs) used to test the system:system:  Identify the test case (Identify the test case (What has to be testedWhat has to be tested).).  Specify the test activities(Specify the test activities( How to proceedHow to proceed).).  Indicate how test results should be defined (Indicate how test results should be defined (Correct outcomeCorrect outcome).).
  • 6. ExecutionExecution It’s Show Time!It’s Show Time! Execution of a test is a three stepExecution of a test is a three step Process:Process:  Preparing the Test InfrastructurePreparing the Test Infrastructure  Conduct Test.Conduct Test.  Verify Results and Report Results.Verify Results and Report Results.
  • 7. Prepare Test InfrastructurePrepare Test Infrastructure  The prepare Test Infrastructure taskThe prepare Test Infrastructure task ensures that all the components such asensures that all the components such as technical resources, human resources,technical resources, human resources, configuration, data, and test designconfiguration, data, and test design specification are in place for successfulspecification are in place for successful execution of the test.execution of the test.  The key to setting up the testingThe key to setting up the testing environment is to establish a set ofenvironment is to establish a set of standards that everyone in the project canstandards that everyone in the project can adhere to.adhere to.
  • 8. Prepare Test InfrastructurePrepare Test Infrastructure Establish a set of standards that theEstablish a set of standards that the organization follows.organization follows.  The key to setting up the testingThe key to setting up the testing environment is to establish a set ofenvironment is to establish a set of standards that everyone in thestandards that everyone in the project can adhere to.project can adhere to.
  • 9. PreparePrepare Test InfrastructureTest Infrastructure  Components of the testingComponents of the testing environment include:environment include: Supporting software An inventory of hardware The code under test A workbook or execution logs
  • 10. PreparePrepare Test InfrastructureTest Infrastructure Supporting softwareSupporting software  Includes operating systems, middleware,Includes operating systems, middleware, system utilities, application, patches and sosystem utilities, application, patches and so on.on.  Supporting software is stored on CD orSupporting software is stored on CD or available on a shared file system.available on a shared file system.  All supporting software will need to beAll supporting software will need to be installed in the environment in the exactinstalled in the environment in the exact sequence required by the components.sequence required by the components.
  • 11. PreparePrepare Test InfrastructureTest Infrastructure Supporting softwareSupporting software  Detailed installation steps will need to be providedDetailed installation steps will need to be provided to you as part of the implementation of the testto you as part of the implementation of the test cases.cases.  When installing multiple supporting softwareWhen installing multiple supporting software elements, the order of installation is critical to theelements, the order of installation is critical to the proper functioning of the environment.proper functioning of the environment.
  • 12. PreparePrepare Test InfrastructureTest Infrastructure An inventory of hardware:An inventory of hardware:  Properly setting up the test-execution environmentProperly setting up the test-execution environment requires to have access the inventory of hardwarerequires to have access the inventory of hardware that is needed, along with any special instructionsthat is needed, along with any special instructions for configuring the hardware.for configuring the hardware.  It is important to ensure that you execute the testIt is important to ensure that you execute the test case in the exact hardware configuration identifiedcase in the exact hardware configuration identified by the test cases.by the test cases.  Tester must confirm that the hardware meets allTester must confirm that the hardware meets all requirements and specifications such as those forrequirements and specifications such as those for memory, disk space, processor speeds and so on.memory, disk space, processor speeds and so on.
  • 13. PreparePrepare Test InfrastructureTest Infrastructure Code under test:Code under test:  Code under test, also referred to as a driver or aCode under test, also referred to as a driver or a build is the packaged new code that is ready to bebuild is the packaged new code that is ready to be installed and tested.installed and tested.  Properly preparing the environment for test-caseProperly preparing the environment for test-case execution also requires that you have access to theexecution also requires that you have access to the code under test.code under test.  Code is stored in a well-known place with namingCode is stored in a well-known place with naming conventions that indicate the exact driver or buildconventions that indicate the exact driver or build levels.levels.  Detailed procedures need to be in place to enableDetailed procedures need to be in place to enable you to install the code accurately and efficiently.you to install the code accurately and efficiently.
  • 14. PreparePrepare Test InfrastructureTest Infrastructure Workbook or execution logs:Workbook or execution logs:  Workbooks and execution logs are used to recordWorkbooks and execution logs are used to record the test-execution activity.the test-execution activity.  Workbooks are used when manually running tests,Workbooks are used when manually running tests, while execution logs are used to capture executionwhile execution logs are used to capture execution of tests run programmatically.of tests run programmatically.  Store the log files in a well-known place withStore the log files in a well-known place with naming conventions to indicate the date capturednaming conventions to indicate the date captured and the build level being tested.and the build level being tested.
  • 15. Conduct TestConduct Test Execute Test caseExecute Test case  The purpose of the task is toThe purpose of the task is to implement the test executionimplement the test execution plan, produce test results, andplan, produce test results, and compare between the expectedcompare between the expected test results and actual testtest results and actual test results.results.  After set up the environment,After set up the environment, ready to execute the tests.ready to execute the tests.  Execute each test exactly asExecute each test exactly as defined in the test-casedefined in the test-case implementation.implementation.
  • 16. Execute Test case – The processExecute Test case – The process Software to be tested Test Case Output Verifier Test Case Generation
  • 17. Testing processTesting process Design test cases Prepar e test data Run pr ogram with test da ta Compar e results to test cases Test cases Test data Test results Test repor ts InputInput Actual OutputActual Output Comparison ProcessComparison Process Test case : Specifies • Inputs + pre-test state of the software • Expected results (outputs and state) Test case : Specifies • Inputs + pre-test state of the software • Expected results (outputs and state)
  • 18. Testing policesTesting polices  Only exhaustive testing can show a programOnly exhaustive testing can show a program is free from defects. However, exhaustiveis free from defects. However, exhaustive testing is impossible,testing is impossible,  Testing policies define the approach to beTesting policies define the approach to be used in selecting system tests:used in selecting system tests: • All functions accessed through menusAll functions accessed through menus should be tested.should be tested. • Where user input is required, all functionsWhere user input is required, all functions must be tested with correct and incorrectmust be tested with correct and incorrect input.input.
  • 19. Testing guidelinesTesting guidelines  Testing guidelines are hints for the testingTesting guidelines are hints for the testing team to help them choose tests that willteam to help them choose tests that will reveal defects in the systemreveal defects in the system • Choose inputs that force the system toChoose inputs that force the system to generate all error messages.generate all error messages. • Design inputs that cause buffers to overflow.Design inputs that cause buffers to overflow. • Repeat the same input or input series severalRepeat the same input or input series several times.times. • Force invalid outputs to be generated.Force invalid outputs to be generated. • Force computation results to be too large orForce computation results to be too large or too small.too small.
  • 20. Verify the existence of the DefectVerify the existence of the Defect  Verify that the element under test,Verify that the element under test, the execution environment and thethe execution environment and the test case-implementation aretest case-implementation are consistent with the test case designconsistent with the test case design  Verify and confirm the discrepancyVerify and confirm the discrepancy between the expected test resultsbetween the expected test results and actual test results.and actual test results. Verify and Analyze ResultsVerify and Analyze Results
  • 21. Analyze the DefectAnalyze the Defect  The purpose of the task is toThe purpose of the task is to analyze and resolve variancesanalyze and resolve variances encountered during test execution.encountered during test execution.  Each variance is analyzed toEach variance is analyzed to determine the cause.determine the cause.  Analysis may indicate that the causeAnalysis may indicate that the cause of the variance is a defect, or that aof the variance is a defect, or that a change request is required.change request is required. Verify and Analyze ResultsVerify and Analyze Results
  • 22. Analyze the DefectAnalyze the Defect  Investigate further andInvestigate further and gather as muchgather as much information as possibleinformation as possible about the symptoms.about the symptoms.  Analyze failures by varyingAnalyze failures by varying conditions, options andconditions, options and settings to gauge thesettings to gauge the severity of the defectseverity of the defect Verify and Analyze ResultsVerify and Analyze Results
  • 23. Analyze failures by varying conditions, options and settingsAnalyze failures by varying conditions, options and settings  Change theChange the conditionsconditions under which an error occurred byunder which an error occurred by changing what you do. As an example, if the problem seemschanging what you do. As an example, if the problem seems related to entering data very quickly, try slowing your rate ofrelated to entering data very quickly, try slowing your rate of input.input.  Change theChange the options and settingsoptions and settings of the program underof the program under test. As an example, if the problem seems related to desktoptest. As an example, if the problem seems related to desktop screen-resolution settings, try varying the settings.screen-resolution settings, try varying the settings.  Change theChange the software and hardware environmentsoftware and hardware environment. For. For example, if the defect seems related to a low-end hardwareexample, if the defect seems related to a low-end hardware configuration, try using the lowest configuration specified inconfiguration, try using the lowest configuration specified in the requirements.the requirements.  Change theChange the datadata used by the program. As an example, if theused by the program. As an example, if the defect seems related to strings exceeding a certain numberdefect seems related to strings exceeding a certain number of characters in length, create a second set of test data toof characters in length, create a second set of test data to check the hypothesis.check the hypothesis. Verify and Analyze ResultsVerify and Analyze Results
  • 24. Documenting yourDocumenting your execution resultsexecution results  Test logs to recordTest logs to record test executiontest execution  Create a testCreate a test incident report forincident report for problemsproblems ReportingReporting Run Test Test Logs ERROR REPORT TEST CASES Verify & Analyze Result Bug Tracking
  • 25. Effective defectEffective defect reportsreports  Convey the properConvey the proper message, gets themessage, gets the job done andjob done and simplifies thesimplifies the process forprocess for everyone.everyone.  Can Pig RideCan Pig Ride technique to writetechnique to write effective incidenteffective incident reports.reports. ReportingReporting C Condense: Say it clearly but briefly A Accurate: Is it a user error or set-up problem? System problem? Application problem? Test-case problem? N Neutral: Just the facts; no zingers, no humor, no emotion, no sarcasm P Precise: Explicitly, what is the problem? I Isolate: What was done to isolate the problem? G Generalize: What was done to understand how general the problem is? R Re-create: What is essential to re-create this problem? I Impact: What is the impact if the bug were to surface in a customer environment D Debug: What will the developer need to debug this problem? E Evidence: What will prove the existence of the error?
  • 26. Test-Defect reportTest-Defect report  The IEEE Std. for Software Test Documentation forThe IEEE Std. for Software Test Documentation for Test Defect template offers the following fields.Test Defect template offers the following fields. ReportingReporting • Incident Summary report Identifier Specify the unique identifier assigned to this test-defect report. •Incident Summary Summarize the incident. Identify the test items involved, indicating their version and revision level. Supply references to the appropriate test-procedure specification, test-case specification and test log.
  • 27.  Incident Description Provide a description of the incident that includes the following items:  Inputs  Expected results  Actual results  Date and time  Procedure steps  Environment  Attempts to repeat  Testers  Observers  Related activities and observations Include any of these that may help to isolate the correct the cause of the incident. Test-Defect reportTest-Defect report  The IEEE Std. for Software Test Documentation forThe IEEE Std. for Software Test Documentation for Test Defect template offers the following fields.Test Defect template offers the following fields. ReportingReporting
  • 28. ResolveResolve  True defects - referred to the DefectTrue defects - referred to the Defect Management process.Management process.  Rated for severity and a priorityRated for severity and a priority  Change Requests - referred to the ChangeChange Requests - referred to the Change Management processManagement process Prioritizes the revision of requirements,Prioritizes the revision of requirements, the specification, design and constructionthe specification, design and construction of each item.of each item. Changed items reenter the test processChanged items reenter the test process ReportingReporting