qtp&uft automation framework
UFT Automation Framework
2012Zhang Yu Tao
AUTOMATION TESTING FRAMEWORK
Description:The Automation Testing Framework is based on BPT (Business
Process Testing) method.
The Business Process Testing model is role-based, allowing non-technical Subject Matter Experts (working in Quality Center) tocollaborate effectively with Automation Engineers (working in QuickTest Professional). Subject Matter Experts define and
document business processes, business components, and business process tests, while Automation Engineers define the required resources and settings, such as shared object repositories, function libraries, and recovery scenarios. Together, they can build, data-drive, document, and run business process tests, without requiring programming knowledge on the part of the Subject Matter Expert.
Testing Tools: HP Functional Test V12 – UFT / QTP (Quick Test Professional)
Environment : Win XP/Vista/7 , Internet Explorer 7/8/9/10/11
BPT WORKFLOW CONVERTS TO LOCAL ONE:
BPT SCRIPT STRUCTURE:
DIAGRAM OF AUTOMATION TESTING FRAMEWORK:
QTP FRAMEWORK IN ECS AUTOMATION:
Version control: Setup SVN on file server to realize version control and download all resources to testing server for development.
APPROACH FOR TEST AUTOMATION
Description Approach for Test Automation is used for building a strategy for
automation starting from the Requirement phase till the deployment
phase. Approach for automation begins with finding out the conditions
and business rules given by the client and grouping similar conditions,
business rules together as Test Scenarios.
Requirement gathering from Client Understanding and Analyzing the Requirement Grouping the requirement into Test cases Select manual case for Automation Preparing the Design for Automation Building Scripts depending on the Design Review of Scripts at Offshore Run and debug Scripts Run automation scripts / scenarios Delivery test report to the Client
DIAGRAM OF APPROACH FOR TEST AUTOMATION:
Identification of Test Cases for Automation
Identification of Common Functionality
Coding Standards, Naming Conventions & Templates
Application Login, Logout, Common Functionality Related code etc
Tool & Application Settings, Restoring, Object Repository, Recovery etc
General library containing String handling, Date handling, File Handling, Data Table handling
Error handling, Log Reporting, messaging etc
Script Development / Debug
Building the Re-Usable Library
Deliver the script after Verification & Validation
Run all scripts by self-development tool in Test Server. Save results file into local servers’ folder. Generate result’s data and send standard format report via email. The report can be stored in an EXCEL file:
Leader: Organize and manager team work, assign tasks, report to manager.Part of detail tasks like: framework design, coding for common function library and scripts. In charge of manager server, DB and version control to automation testing.
ATE: Pick up manual case for automation and review with Manual test case designer.Execute manual case and update step if necessary.Split manual case into business component for automation.Build up / update resources and scripts.Combine business components to business process tests.Run and debug.Follow the progress and report to leader.