SlideShare a Scribd company logo
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 !!!!!!!

More Related Content

What's hot

Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Aneesh Rangarajan
 
Test Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and CucumberTest Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and Cucumber
Rhoynar Software Consulting
 
Cucumber Tool
Cucumber ToolCucumber Tool
Cucumber Tool
Sohail Ahmed
 
Cucumber ppt
Cucumber pptCucumber ppt
Cucumber ppt
Qwinix Technologies
 
Selenium with Cucumber
Selenium  with Cucumber Selenium  with Cucumber
Selenium with Cucumber
Knoldus Inc.
 
Automation testing
Automation testingAutomation testing
Automation testing
Biswajit Pratihari
 
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Edureka!
 
Setting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation FrameworkSetting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation Framework
valuebound
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
Hai Tran Son
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
Mindfire Solutions
 
BDD with Cucumber
BDD with CucumberBDD with Cucumber
BDD with Cucumber
Knoldus Inc.
 
Test Automation
Test AutomationTest Automation
Test Automation
rockoder
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
Srikanth Vuriti
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice Sharing
KMS Technology
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development Introduction
Ganuka Yashantha
 
Introduction to Bdd and cucumber
Introduction to Bdd and cucumberIntroduction to Bdd and cucumber
Introduction to Bdd and cucumber
Nibu Baby
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework Presentation
Ben Ngo
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework Introduction
Pekka Klärck
 

What's hot (20)

Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Test Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and CucumberTest Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and Cucumber
 
Hybrid framework
Hybrid frameworkHybrid framework
Hybrid framework
 
Cucumber Tool
Cucumber ToolCucumber Tool
Cucumber Tool
 
Cucumber ppt
Cucumber pptCucumber ppt
Cucumber ppt
 
Selenium with Cucumber
Selenium  with Cucumber Selenium  with Cucumber
Selenium with Cucumber
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
 
Setting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation FrameworkSetting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation Framework
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
BDD with Cucumber
BDD with CucumberBDD with Cucumber
BDD with Cucumber
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice Sharing
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development Introduction
 
Introduction to Bdd and cucumber
Introduction to Bdd and cucumberIntroduction to Bdd and cucumber
Introduction to Bdd and cucumber
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework Presentation
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework Introduction
 

Similar to UFT Automation Framework Introduction

Bealls florida automation overview
Bealls florida automation overviewBealls florida automation overview
Bealls florida automation overview
Vijay Rangaiah
 
Test automation process
Test automation processTest automation process
Test automation process
Bharathi Krishnamurthi
 
Qtp important frameworks
Qtp important frameworksQtp important frameworks
Qtp important frameworksprs0302
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
Devukjs
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
doai tran
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
Automation using ibm rft
Automation using ibm rftAutomation using ibm rft
Automation using ibm rft
Prashant Chaudhary
 
Enterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core ArchitectureEnterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core Architecture
mcgurk
 
AtoM's Command Line Tasks - An Introduction
AtoM's Command Line Tasks - An IntroductionAtoM's Command Line Tasks - An Introduction
AtoM's Command Line Tasks - An Introduction
Artefactual Systems - AtoM
 
Qtp certification training_material
Qtp certification training_materialQtp certification training_material
Qtp certification training_material
Vishwaprakash Sahoo
 
11i Logs
11i Logs11i Logs
Integration Group - Robot Framework
Integration Group - Robot Framework Integration Group - Robot Framework
Integration Group - Robot Framework
OpenDaylight
 
Enterprise Library 3.0 Overview
Enterprise Library 3.0 OverviewEnterprise Library 3.0 Overview
Enterprise Library 3.0 Overview
mcgurk
 
Typical Architecture Of Automation Frameworks
Typical Architecture Of Automation FrameworksTypical Architecture Of Automation Frameworks
Typical Architecture Of Automation Frameworks
Yogindernath Gupta
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
zeesniper
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
zeesniper
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in Selenium
Knoldus Inc.
 
Performance Testing in Oracle Apps
Performance Testing in Oracle AppsPerformance Testing in Oracle Apps
Performance Testing in Oracle Apps
Biswajit Pratihari
 

Similar to UFT Automation Framework Introduction (20)

Bealls florida automation overview
Bealls florida automation overviewBealls florida automation overview
Bealls florida automation overview
 
Test automation process _ QTP
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTP
 
Test automation process
Test automation processTest automation process
Test automation process
 
Qtp important frameworks
Qtp important frameworksQtp important frameworks
Qtp important frameworks
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Automation using ibm rft
Automation using ibm rftAutomation using ibm rft
Automation using ibm rft
 
Enterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core ArchitectureEnterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core Architecture
 
AtoM's Command Line Tasks - An Introduction
AtoM's Command Line Tasks - An IntroductionAtoM's Command Line Tasks - An Introduction
AtoM's Command Line Tasks - An Introduction
 
Qtp certification training_material
Qtp certification training_materialQtp certification training_material
Qtp certification training_material
 
11i Logs
11i Logs11i Logs
11i Logs
 
Integration Group - Robot Framework
Integration Group - Robot Framework Integration Group - Robot Framework
Integration Group - Robot Framework
 
Enterprise Library 3.0 Overview
Enterprise Library 3.0 OverviewEnterprise Library 3.0 Overview
Enterprise Library 3.0 Overview
 
Typical Architecture Of Automation Frameworks
Typical Architecture Of Automation FrameworksTypical Architecture Of Automation Frameworks
Typical Architecture Of Automation Frameworks
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
 
Struts Ppt 1
Struts Ppt 1Struts Ppt 1
Struts Ppt 1
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in Selenium
 
Performance Testing in Oracle Apps
Performance Testing in Oracle AppsPerformance Testing in Oracle Apps
Performance Testing in Oracle Apps
 

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