SlideShare una empresa de Scribd logo
1 de 17
QTP Training Session I

Presented By : Aisha Mazhar
Agenda - Basic
• Manual testing v/s Automation.
• Introduction to QTP and its purpose.
• Key Elements of QTP.
• Testing Process
• Recording Test.
• Playback
Manual testing v/s Automation
Disadvantages of Manual Testing

• Time consuming
• More resource(s) required
• Human errors
• Repetition of task is not much
• Tiredness
• Simultaneous of tasks is not possible (parallel)
Manual testing v/s Automation
Advantages of Automation

• Fast – tools are fast in execution than human users
• Reliable – in complex calculation & tasks.
• Reusable – reuse at any no. of times.
• Repeatable – can repeat some steps for required no. of time.
• Programmable – can use flow control statements to apply logic.
• Comprehensive – can execute test batch without human
interaction.
Introduction to QTP and its purpose
• Quick Test Professional, abbreviated as QTP.
• Launched in Nov 2002 by Mercury interactive
• Provides functional and regression test automation
• An object based testing tool.
• Follows keyword driven approach
• Supports windows operating environment only
• Latest version 11.0
Key Elements of QTP
Key elements of QTP tool window are:

• Test Pane – Expert View , Keyword View
• Active screen
• Data Table – Global sheet, Action sheet
• Debug Viewer
• Missing resources
• Information
Key Elements of QTP
Testing Process
1. Analyzing your application

•   Application's development environments
•   Business processes and functionality do you want to
    test
•   Consider how to divide these business processes into
    smaller units
Testing Process
2. Preparing the testing infrastructure

•   What resources are required
•   Configure QuickTest settings so that QuickTest will
    perform the tasks you need
Testing Process
3. Building your tests and adding steps to them

•   Add actions
Testing Process
4. Enhancing your test

•   Inserting checkpoints
•   Replacing fixed values with parameters
•   Adding logic and conditional or loop statements
Testing Process
5. Debugging, running, and analyzing your test

•   To ensure that it operates smoothly and without
    interruption
•   Examine the test results to pinpoint defects in your
    application

6. Reporting Defects
Recording Test
• Process of recording user operations on AUT
(Application under test)
• Creates steps in keyword view
• Generates script in Expert view
• Adds objects identification in object repositry

Types of recordings
1. Normal
2. Analogue
3. Low level
Recording Test - Types
Normal
Default mode of recording which takes full advantage of Quick Test Professional's test object
model. It recognizes objects in application regardless of their location on the screen. It
records the objects in your application and the operations performed on them



Analogue - Automation > Analogue recording
Exact keyboard and mouse operations are recorded in relation to either screen or the application
window. Records and tracks every movement of the mouse for e.g recording a signature
produced by dragginf the mouse



Low level - Automation > Low level recording
Records at the object level and records all run-time objects as either Window or WinObject test
objects. It is used when the exact coordinates of the object are important for your tests. Low
level mode records the x,y coordinates of any clicks
Playback
Reads statements one by one and gets object information
from the object repository, based on that information
performs operations in AUT.
References
• Build in QTP Tutorial. Help > Quick Test Professional
Tutorial

• http://www.gcreddy.com/
Thank you 

Más contenido relacionado

La actualidad más candente

Елена Панина - Drupal performance testing. Тестирование производительности, м...
Елена Панина - Drupal performance testing. Тестирование производительности, м...Елена Панина - Drupal performance testing. Тестирование производительности, м...
Елена Панина - Drupal performance testing. Тестирование производительности, м...LEDC 2016
 
Continuous performance: Load testing for developers with gatling @ JavaOne 2016
Continuous performance: Load testing for developers with gatling @ JavaOne 2016Continuous performance: Load testing for developers with gatling @ JavaOne 2016
Continuous performance: Load testing for developers with gatling @ JavaOne 2016Tim van Eijndhoven
 
Automation testing
Automation testingAutomation testing
Automation testingkamilkaide
 
Software testing lab 7 & 8
Software testing lab 7 & 8Software testing lab 7 & 8
Software testing lab 7 & 8AfrasiabKhan21
 
Hdl based simulators
Hdl based simulatorsHdl based simulators
Hdl based simulatorsPrachi Pandey
 
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume CorréTestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume CorréXebia Nederland BV
 
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)STePINForum
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive ProgrammingKuldeep Sharma
 
Automation Testing
Automation TestingAutomation Testing
Automation TestingRajat Tiwari
 
Basics of Functional Verification - Arrow Devices
Basics of Functional Verification - Arrow DevicesBasics of Functional Verification - Arrow Devices
Basics of Functional Verification - Arrow DevicesArrow Devices
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing MetricsJatin Kochhar
 
Automated testing overview
Automated testing overviewAutomated testing overview
Automated testing overviewAlex Pop
 
Aspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveAspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveSalesforce Engineering
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testinggaoliang641
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering Madhar Khan Pathan
 

La actualidad más candente (19)

Елена Панина - Drupal performance testing. Тестирование производительности, м...
Елена Панина - Drupal performance testing. Тестирование производительности, м...Елена Панина - Drupal performance testing. Тестирование производительности, м...
Елена Панина - Drupal performance testing. Тестирование производительности, м...
 
Continuous performance: Load testing for developers with gatling @ JavaOne 2016
Continuous performance: Load testing for developers with gatling @ JavaOne 2016Continuous performance: Load testing for developers with gatling @ JavaOne 2016
Continuous performance: Load testing for developers with gatling @ JavaOne 2016
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Software testing lab 7 & 8
Software testing lab 7 & 8Software testing lab 7 & 8
Software testing lab 7 & 8
 
Hdl based simulators
Hdl based simulatorsHdl based simulators
Hdl based simulators
 
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume CorréTestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
 
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
 
The best day for qa
The best day for qaThe best day for qa
The best day for qa
 
Web service testing using QTP (UFT)
Web service testing using QTP (UFT)Web service testing using QTP (UFT)
Web service testing using QTP (UFT)
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Golang testing
Golang testingGolang testing
Golang testing
 
Basics of Functional Verification - Arrow Devices
Basics of Functional Verification - Arrow DevicesBasics of Functional Verification - Arrow Devices
Basics of Functional Verification - Arrow Devices
 
Metrics
MetricsMetrics
Metrics
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
 
Automated testing overview
Automated testing overviewAutomated testing overview
Automated testing overview
 
Aspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveAspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already Have
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testing
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 

Destacado

QTP Tutorial
QTP TutorialQTP Tutorial
QTP Tutorialpingkapil
 
QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2Akash Tyagi
 
QTP Automation Testing Tutorial 3
QTP Automation Testing Tutorial 3QTP Automation Testing Tutorial 3
QTP Automation Testing Tutorial 3Akash Tyagi
 
QTP Automation Testing Tutorial 7
QTP Automation Testing Tutorial 7QTP Automation Testing Tutorial 7
QTP Automation Testing Tutorial 7Akash Tyagi
 
QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6Akash Tyagi
 
QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5Akash Tyagi
 
QTP Power Point Presentation
QTP Power Point PresentationQTP Power Point Presentation
QTP Power Point PresentationSVRTechnologies
 
Amdocs Case Study: Massive Kanban Implementation (LKNA14)
Amdocs Case Study: Massive Kanban Implementation (LKNA14)Amdocs Case Study: Massive Kanban Implementation (LKNA14)
Amdocs Case Study: Massive Kanban Implementation (LKNA14)Yaki Koren
 
QTP VB Script Trainings
QTP VB Script TrainingsQTP VB Script Trainings
QTP VB Script TrainingsAli Imran
 
Vodafone VPN+ demo powered by Amdocs
Vodafone VPN+ demo powered by Amdocs Vodafone VPN+ demo powered by Amdocs
Vodafone VPN+ demo powered by Amdocs Amdocs
 
First QTP Tutorial
First QTP TutorialFirst QTP Tutorial
First QTP Tutorialtjdhans
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programmingKuldeep Sharma
 
Hp Quick Test Professional
Hp Quick Test ProfessionalHp Quick Test Professional
Hp Quick Test Professionalsunny.deb
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basicsmehramit
 
Qtp Training
Qtp TrainingQtp Training
Qtp Trainingmehramit
 

Destacado (18)

Gl qtp day 1 & 2
Gl qtp   day 1 & 2Gl qtp   day 1 & 2
Gl qtp day 1 & 2
 
Test automation process _ QTP
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTP
 
Qtp testing
Qtp testingQtp testing
Qtp testing
 
QTP Tutorial
QTP TutorialQTP Tutorial
QTP Tutorial
 
QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2
 
QTP Automation Testing Tutorial 3
QTP Automation Testing Tutorial 3QTP Automation Testing Tutorial 3
QTP Automation Testing Tutorial 3
 
QTP Automation Testing Tutorial 7
QTP Automation Testing Tutorial 7QTP Automation Testing Tutorial 7
QTP Automation Testing Tutorial 7
 
QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6
 
QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5
 
QTP Power Point Presentation
QTP Power Point PresentationQTP Power Point Presentation
QTP Power Point Presentation
 
Amdocs Case Study: Massive Kanban Implementation (LKNA14)
Amdocs Case Study: Massive Kanban Implementation (LKNA14)Amdocs Case Study: Massive Kanban Implementation (LKNA14)
Amdocs Case Study: Massive Kanban Implementation (LKNA14)
 
QTP VB Script Trainings
QTP VB Script TrainingsQTP VB Script Trainings
QTP VB Script Trainings
 
Vodafone VPN+ demo powered by Amdocs
Vodafone VPN+ demo powered by Amdocs Vodafone VPN+ demo powered by Amdocs
Vodafone VPN+ demo powered by Amdocs
 
First QTP Tutorial
First QTP TutorialFirst QTP Tutorial
First QTP Tutorial
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
 
Hp Quick Test Professional
Hp Quick Test ProfessionalHp Quick Test Professional
Hp Quick Test Professional
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 

Similar a Qtp training session I

Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfDiana Gray, MBA
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 
Automated testing
Automated testingAutomated testing
Automated testings0194975
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automationEran Kinsbrunner
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Azhar Satti
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lessonSadaaki Emura
 
FUNTASY - Functional testing automated system
FUNTASY - Functional testing automated systemFUNTASY - Functional testing automated system
FUNTASY - Functional testing automated systemQualitest
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseClareMcLennan
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organizationanuvip
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool OverviewANKUR-BA
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewSachin-QA
 
Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Andrey Oleynik
 
St all about test case-p3
St all about test case-p3St all about test case-p3
St all about test case-p3Prachi Sasankar
 
ST-All about Test Case-p3
ST-All about Test Case-p3ST-All about Test Case-p3
ST-All about Test Case-p3Prachi Sasankar
 

Similar a Qtp training session I (20)

Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
 
Why Automate
Why AutomateWhy Automate
Why Automate
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
Automated testing
Automated testingAutomated testing
Automated testing
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automation
 
Qtp day 1
Qtp day 1Qtp day 1
Qtp day 1
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
 
FUNTASY - Functional testing automated system
FUNTASY - Functional testing automated systemFUNTASY - Functional testing automated system
FUNTASY - Functional testing automated system
 
unit-5 SPM.pptx
unit-5 SPM.pptxunit-5 SPM.pptx
unit-5 SPM.pptx
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with Fitnesse
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organization
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool Overview
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)
 
St all about test case-p3
St all about test case-p3St all about test case-p3
St all about test case-p3
 
ST-All about Test Case-p3
ST-All about Test Case-p3ST-All about Test Case-p3
ST-All about Test Case-p3
 

Qtp training session I

  • 1. QTP Training Session I Presented By : Aisha Mazhar
  • 2. Agenda - Basic • Manual testing v/s Automation. • Introduction to QTP and its purpose. • Key Elements of QTP. • Testing Process • Recording Test. • Playback
  • 3. Manual testing v/s Automation Disadvantages of Manual Testing • Time consuming • More resource(s) required • Human errors • Repetition of task is not much • Tiredness • Simultaneous of tasks is not possible (parallel)
  • 4. Manual testing v/s Automation Advantages of Automation • Fast – tools are fast in execution than human users • Reliable – in complex calculation & tasks. • Reusable – reuse at any no. of times. • Repeatable – can repeat some steps for required no. of time. • Programmable – can use flow control statements to apply logic. • Comprehensive – can execute test batch without human interaction.
  • 5. Introduction to QTP and its purpose • Quick Test Professional, abbreviated as QTP. • Launched in Nov 2002 by Mercury interactive • Provides functional and regression test automation • An object based testing tool. • Follows keyword driven approach • Supports windows operating environment only • Latest version 11.0
  • 6. Key Elements of QTP Key elements of QTP tool window are: • Test Pane – Expert View , Keyword View • Active screen • Data Table – Global sheet, Action sheet • Debug Viewer • Missing resources • Information
  • 8. Testing Process 1. Analyzing your application • Application's development environments • Business processes and functionality do you want to test • Consider how to divide these business processes into smaller units
  • 9. Testing Process 2. Preparing the testing infrastructure • What resources are required • Configure QuickTest settings so that QuickTest will perform the tasks you need
  • 10. Testing Process 3. Building your tests and adding steps to them • Add actions
  • 11. Testing Process 4. Enhancing your test • Inserting checkpoints • Replacing fixed values with parameters • Adding logic and conditional or loop statements
  • 12. Testing Process 5. Debugging, running, and analyzing your test • To ensure that it operates smoothly and without interruption • Examine the test results to pinpoint defects in your application 6. Reporting Defects
  • 13. Recording Test • Process of recording user operations on AUT (Application under test) • Creates steps in keyword view • Generates script in Expert view • Adds objects identification in object repositry Types of recordings 1. Normal 2. Analogue 3. Low level
  • 14. Recording Test - Types Normal Default mode of recording which takes full advantage of Quick Test Professional's test object model. It recognizes objects in application regardless of their location on the screen. It records the objects in your application and the operations performed on them Analogue - Automation > Analogue recording Exact keyboard and mouse operations are recorded in relation to either screen or the application window. Records and tracks every movement of the mouse for e.g recording a signature produced by dragginf the mouse Low level - Automation > Low level recording Records at the object level and records all run-time objects as either Window or WinObject test objects. It is used when the exact coordinates of the object are important for your tests. Low level mode records the x,y coordinates of any clicks
  • 15. Playback Reads statements one by one and gets object information from the object repository, based on that information performs operations in AUT.
  • 16. References • Build in QTP Tutorial. Help > Quick Test Professional Tutorial • http://www.gcreddy.com/