UFT Automation Framework Introduction

UFT Automation
Framework
By Himal Bandara
Preface
 While there are several frameworks that provide support for automated
software testing using HP UFT, this document introduces one particularly
effective type.
Objective
 To create a framework which supports test automation work done by UFT in
QA environment by working as a tool chain.
 considerations :
 UFT tool will be integrated and used with HP ALM.
 UFT Project solution, resources and test cases are stored in ALM.
 ALM is used as the version control repository for both test cases and test scripts.
 ALM test cases will include both UFT test scripts and other test cases related
details.
Framework Architecture
Features
 1. Folder Hierarchy
2. Config
 Config File which use to store the Test Environment Data .In this configuration
file is xml file which include system url , browser type, test data path etc.
Function Library
 Contains necessary functions that needs to create and execute the test cases
 This Framework has two main components
 Generic function library
 Application specific function library
Generic function library
 Generic Function library is .vbs or .qfl file which include application
independent common scenarios like (“Reading and writing excel data ,
logging functionality ”)
Application specific function library
 Generic Function library is .vbs or .qfl file which include application
dependent common scenarios and module like (login module , Add Course
module)
Logging
 Logs are captured as a text file and stored in a windows location
 Logs can be enabled in ALM at the execution time
Object Repository
 Object repository is a collection of objects and properties
 Shared object repository is maintained(.tsr)
Recovery Scenarios
 In order to recover the test and continue execution
 Can be crucial feature for large tests
 This framework has two recovery scenarios
 Webelement is not visible
 Webelement doesn’t exist
Test data
 External test data is given as inputs to the test scripts to perform the same
operations on the application using different set of data
 The best practice here is to keep the data sheet in a common place,
preferably in the test management tool.
Advantages
 Increase the quality
 Reusability
 Better utilization of tools
 Maintenance
 Minimum effort
 High ROI
Limitations
 Property files(.txt or .properties) can’t be stored in ALM as it only supports
XML and MS Office documents
 It is a must to have the browser extension installed and enabled to execute a
test in a particular web browser
 Learning resources are rare in certain areas (e.g- recovery scenarios)
Learnings And Next Ste
 Support for descriptive programming
 Customize test reports
 Make the generic function library more comprehensive by adding more
generic methods
 Mobile, API testing support
THANKS !!!!!!!
1 de 17

Recomendados

Uft Basics por
Uft BasicsUft Basics
Uft BasicsArchana Krushnan
3.1K visualizações16 slides
Introduction to Unified Functional Testing 12 (UFT) por
Introduction to Unified Functional Testing 12 (UFT)Introduction to Unified Functional Testing 12 (UFT)
Introduction to Unified Functional Testing 12 (UFT)Archana Krushnan
8.2K visualizações12 slides
Hybrid Automation Framework Development introduction por
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionGanuka Yashantha
1.7K visualizações15 slides
Why to choose HP UFT: Automation testing tool por
Why to choose HP UFT: Automation testing toolWhy to choose HP UFT: Automation testing tool
Why to choose HP UFT: Automation testing toolBugRaptors
736 visualizações10 slides
Hybrid framework for test automation por
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automationsrivinayak
4.8K visualizações14 slides
BDD with Cucumber por
BDD with CucumberBDD with Cucumber
BDD with CucumberKnoldus Inc.
15.8K visualizações15 slides

Mais conteúdo relacionado

Mais procurados

Test automation using selenium por
Test automation using seleniumTest automation using selenium
Test automation using seleniumCynoteck Technology Solutions Private Limited
1.5K visualizações26 slides
Automation Testing using Selenium por
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using SeleniumNaresh Chintalcheru
50.4K visualizações26 slides
Test Automation Framework with BDD and Cucumber por
Test Automation Framework with BDD and CucumberTest Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and CucumberRhoynar Software Consulting
4.4K visualizações21 slides
An overview of selenium webdriver por
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriverAnuraj S.L
4.1K visualizações60 slides
Test Complete por
Test CompleteTest Complete
Test CompleteRomSoft SRL
17.9K visualizações31 slides
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta? por
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?Mayara Fernandes
1.2K visualizações18 slides

Mais procurados(20)

Automation Testing using Selenium por Naresh Chintalcheru
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
Naresh Chintalcheru50.4K visualizações
An overview of selenium webdriver por Anuraj S.L
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
Anuraj S.L4.1K visualizações
Test Complete por RomSoft SRL
Test CompleteTest Complete
Test Complete
RomSoft SRL17.9K visualizações
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta? por Mayara Fernandes
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?
Mayara Fernandes1.2K visualizações
Introduction to Robot Framework (external) por Zhe Li
Introduction to Robot Framework (external)Introduction to Robot Framework (external)
Introduction to Robot Framework (external)
Zhe Li1.7K visualizações
Selenium Automation Framework por Mindfire Solutions
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
Mindfire Solutions6.5K visualizações
7) packaging and deployment por techbed
7) packaging and deployment7) packaging and deployment
7) packaging and deployment
techbed5.1K visualizações
Test Automation Interview Questions and Answers | Edureka por Edureka!
Test Automation Interview Questions and Answers | EdurekaTest Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | Edureka
Edureka!1.1K visualizações
Introduction to Selenium Web Driver por Return on Intelligence
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
Return on Intelligence48.8K visualizações
Katalon Studio - Successful Test Automation for both Testers and Developers por Katalon Studio
Katalon Studio - Successful Test Automation for both Testers and DevelopersKatalon Studio - Successful Test Automation for both Testers and Developers
Katalon Studio - Successful Test Automation for both Testers and Developers
Katalon Studio3K visualizações
Automation test framework with cucumber – BDD por 123abcda
Automation test framework with cucumber – BDDAutomation test framework with cucumber – BDD
Automation test framework with cucumber – BDD
123abcda1.1K visualizações
Robot Framework Introduction por Pekka Klärck
Robot Framework IntroductionRobot Framework Introduction
Robot Framework Introduction
Pekka Klärck226.5K visualizações
Automação de Testes com Robot Framework - GUTS-SC por Mayara Fernandes
Automação de Testes com Robot Framework - GUTS-SCAutomação de Testes com Robot Framework - GUTS-SC
Automação de Testes com Robot Framework - GUTS-SC
Mayara Fernandes2.8K visualizações
Selenium- A Software Testing Tool por Zeba Tahseen
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
Zeba Tahseen1.2K visualizações
Automated Testing vs Manual Testing por didev
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
didev3.3K visualizações

Similar a UFT Automation Framework Introduction

Hybrid framework por
Hybrid frameworkHybrid framework
Hybrid frameworkSudhakar Mangi
7.2K visualizações23 slides
Bealls florida automation overview por
Bealls florida automation overviewBealls florida automation overview
Bealls florida automation overviewVijay Rangaiah
405 visualizações10 slides
Test automation process por
Test automation processTest automation process
Test automation processBharathi Krishnamurthi
25.9K visualizações28 slides
Test automation process _ QTP por
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTPBharathi Krishnamurthi
7.5K visualizações28 slides
Qtp important frameworks por
Qtp important frameworksQtp important frameworks
Qtp important frameworksprs0302
517 visualizações5 slides
Automation Framework 042009 V2 por
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2Devukjs
465 visualizações20 slides

Similar a UFT Automation Framework Introduction(20)

Hybrid framework por Sudhakar Mangi
Hybrid frameworkHybrid framework
Hybrid framework
Sudhakar Mangi7.2K visualizações
Bealls florida automation overview por Vijay Rangaiah
Bealls florida automation overviewBealls florida automation overview
Bealls florida automation overview
Vijay Rangaiah405 visualizações
Test automation process _ QTP por Bharathi Krishnamurthi
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTP
Bharathi Krishnamurthi7.5K visualizações
Qtp important frameworks por prs0302
Qtp important frameworksQtp important frameworks
Qtp important frameworks
prs0302517 visualizações
Automation Framework 042009 V2 por Devukjs
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
Devukjs465 visualizações
Hybrid automation framework por doai tran
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
doai tran2.8K visualizações
Final Automation Testing por priya_trivedi
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi4.7K visualizações
Automation using ibm rft por Prashant Chaudhary
Automation using ibm rftAutomation using ibm rft
Automation using ibm rft
Prashant Chaudhary761 visualizações
Enterprise Library 2.0 Core Architecture por mcgurk
Enterprise Library 2.0 Core ArchitectureEnterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core Architecture
mcgurk937 visualizações
Qtp certification training_material por Vishwaprakash Sahoo
Qtp certification training_materialQtp certification training_material
Qtp certification training_material
Vishwaprakash Sahoo196 visualizações
Integration Group - Robot Framework por OpenDaylight
Integration Group - Robot Framework Integration Group - Robot Framework
Integration Group - Robot Framework
OpenDaylight2.4K visualizações
Enterprise Library 3.0 Overview por mcgurk
Enterprise Library 3.0 OverviewEnterprise Library 3.0 Overview
Enterprise Library 3.0 Overview
mcgurk1.6K visualizações
Typical Architecture Of Automation Frameworks por Yogindernath Gupta
Typical Architecture Of Automation FrameworksTypical Architecture Of Automation Frameworks
Typical Architecture Of Automation Frameworks
Yogindernath Gupta1.2K visualizações
R12 d49656 gc10-apps dba 07 por zeesniper
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
zeesniper772 visualizações
R12 d49656 gc10-apps dba 16 por zeesniper
R12 d49656 gc10-apps dba 16R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
zeesniper1K visualizações
Struts Ppt 1 por JayaPrakash.m
Struts Ppt 1Struts Ppt 1
Struts Ppt 1
JayaPrakash.m10.1K visualizações
Data Driven Framework in Selenium por Knoldus Inc.
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in Selenium
Knoldus Inc.202 visualizações

UFT Automation Framework Introduction

  • 2. Preface  While there are several frameworks that provide support for automated software testing using HP UFT, this document introduces one particularly effective type.
  • 3. Objective  To create a framework which supports test automation work done by UFT in QA environment by working as a tool chain.  considerations :  UFT tool will be integrated and used with HP ALM.  UFT Project solution, resources and test cases are stored in ALM.  ALM is used as the version control repository for both test cases and test scripts.  ALM test cases will include both UFT test scripts and other test cases related details.
  • 6. 2. Config  Config File which use to store the Test Environment Data .In this configuration file is xml file which include system url , browser type, test data path etc.
  • 7. Function Library  Contains necessary functions that needs to create and execute the test cases  This Framework has two main components  Generic function library  Application specific function library
  • 8. Generic function library  Generic Function library is .vbs or .qfl file which include application independent common scenarios like (“Reading and writing excel data , logging functionality ”)
  • 9. Application specific function library  Generic Function library is .vbs or .qfl file which include application dependent common scenarios and module like (login module , Add Course module)
  • 10. Logging  Logs are captured as a text file and stored in a windows location  Logs can be enabled in ALM at the execution time
  • 11. Object Repository  Object repository is a collection of objects and properties  Shared object repository is maintained(.tsr)
  • 12. Recovery Scenarios  In order to recover the test and continue execution  Can be crucial feature for large tests  This framework has two recovery scenarios  Webelement is not visible  Webelement doesn’t exist
  • 13. Test data  External test data is given as inputs to the test scripts to perform the same operations on the application using different set of data  The best practice here is to keep the data sheet in a common place, preferably in the test management tool.
  • 14. Advantages  Increase the quality  Reusability  Better utilization of tools  Maintenance  Minimum effort  High ROI
  • 15. Limitations  Property files(.txt or .properties) can’t be stored in ALM as it only supports XML and MS Office documents  It is a must to have the browser extension installed and enabled to execute a test in a particular web browser  Learning resources are rare in certain areas (e.g- recovery scenarios)
  • 16. Learnings And Next Ste  Support for descriptive programming  Customize test reports  Make the generic function library more comprehensive by adding more generic methods  Mobile, API testing support