SlideShare una empresa de Scribd logo
1 de 8
Test Automation Process

1.   Planning
2.   Generating the Tests
3.   Enhancing the Tests
4.   Debugging the Tests
5.   Running the tests
6.   Analyzing the Test Results
7.   Reporting the Defects
Test Automation Process
Planning
1.    Analyzing the AUT
2.    Implementation of Framework
3.    Selection of Test Cases for Automation
4.    Identification of Tool
5.    Collecting Test Data
6.    Tool setting configuration

     TestCase ID   Test Action      Automated   Execute
     TC_001        Login to App     Yes         Y
     TC_002        Search Flights   Yes         Y
     TC_003        Booking Ticket   Yes         Y
     TC_004        Cancel Ticket    Yes         Y
     TC_005        Reports          No          N
Test Automation Process
Generating the Tests
•    OR Repository - Object Recognizaton
•    By Recording
•    Hand Coding AKA Descriptive Programming

                       Automation Code (Used QTP tool as a reference)
'Launch Application
SystemUtil.Run "C:Program FilesHPQuickTest Professionalsamplesflightappflight4a.exe“,
"","C:Program FilesHPQuickTest Professionalsamplesflightapp","open"
'Enter UserName
Dialog("Login").WinEdit("Agent Name:").Set "mercury"
'Enter Password
Dialog("Login").WinEdit("Password:").Set "mercury"
'Click ok
Dialog("Login").WinButton("OK").Click
'Exit Application
Window("Flight Reservation").Close
Test Automation Process
Enhancing the Tests
•   Inserting check points
•   Inserting output values
•   Synchronization
•   Parameterization
•   Regular Expressions
•   Recovery Scenario (Exception Handling)
•   Inserting flow control statements
•   Inserting transaction points
•   Adding User Defined Functions
Test Automation Process
Debugging the Tests
•   Watching variables
•   Step by step execution
•   Passing values to variables

Running the tests
•   Normal Execution
•   Batch Execution
•   Scheduled Execution

Analyzing the Test Results
•   Defining your own Results

Reporting the Defects
•   Report Manually, Report via Test Management tools (for
    ex: Quality Center, TFS, etc.,)
Test automatio process

Más contenido relacionado

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destacado (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Test automatio process

  • 1. Test Automation Process 1. Planning 2. Generating the Tests 3. Enhancing the Tests 4. Debugging the Tests 5. Running the tests 6. Analyzing the Test Results 7. Reporting the Defects
  • 2. Test Automation Process Planning 1. Analyzing the AUT 2. Implementation of Framework 3. Selection of Test Cases for Automation 4. Identification of Tool 5. Collecting Test Data 6. Tool setting configuration TestCase ID Test Action Automated Execute TC_001 Login to App Yes Y TC_002 Search Flights Yes Y TC_003 Booking Ticket Yes Y TC_004 Cancel Ticket Yes Y TC_005 Reports No N
  • 3. Test Automation Process Generating the Tests • OR Repository - Object Recognizaton • By Recording • Hand Coding AKA Descriptive Programming Automation Code (Used QTP tool as a reference) 'Launch Application SystemUtil.Run "C:Program FilesHPQuickTest Professionalsamplesflightappflight4a.exe“, "","C:Program FilesHPQuickTest Professionalsamplesflightapp","open" 'Enter UserName Dialog("Login").WinEdit("Agent Name:").Set "mercury" 'Enter Password Dialog("Login").WinEdit("Password:").Set "mercury" 'Click ok Dialog("Login").WinButton("OK").Click 'Exit Application Window("Flight Reservation").Close
  • 4.
  • 5. Test Automation Process Enhancing the Tests • Inserting check points • Inserting output values • Synchronization • Parameterization • Regular Expressions • Recovery Scenario (Exception Handling) • Inserting flow control statements • Inserting transaction points • Adding User Defined Functions
  • 6.
  • 7. Test Automation Process Debugging the Tests • Watching variables • Step by step execution • Passing values to variables Running the tests • Normal Execution • Batch Execution • Scheduled Execution Analyzing the Test Results • Defining your own Results Reporting the Defects • Report Manually, Report via Test Management tools (for ex: Quality Center, TFS, etc.,)