UFT/QTP – Home

UFT/QTP Tutorial

HP Unified Functional Testing (UFT), an automated functional testing tool that helps testers to perform automated regression.

These QTP tutorials are designed for beginners as well as experienced users of UFT. Here we are starting from QTP basics you will learn advance scripting all with practical examples for your easy understanding.

Prerequisites Read More

UFT/QTP – Introduction

What is UFT/QTP?

HP Unified Functional Testing (UFT) is a software that helps testers to perform an automated functional testing seamlessly without monitoring once script development is complete.

Where UFT/QTP Fits in? Read More

UFT/QTP – Installation

HP has released the latest version of UFT (Unified Functional Testing) – 12.53. The trial/licensed version of this software is available for download now.

Here are the step-by-step instructions to download and install UFT 12.53

Download – Read More

UFT/QTP – Record and Playback

Recording a test corresponds the user actions of the application under test so that UFT automatically generates the scripts that can be played back. Record and Playback  gives us the first impression if the tool can support the technology or NOT if the initial settings are done correctly.

Steps for Record and Playback are as follows: Read More

UFT/QTP – Modes of Recording

HP UFT (QTP) supports 4 types of recording modes

QTP Record Options

  • Normal Recording : This is the default Recording mode. Normal recording mode records the objects in your application and the operations performed on the application under test.      Navigation: Record >> Record or Record Button or press short key F6
  • Analog Recording : This records not only the keyboard actions but also the mouse movements relative to the screen or the application window.     (Analog Recording Mode should be used only when mouse movement is essential like signatures and drawings)

Read More

UFT/QTP – Object Repository

An Object is an element that is present in the application . All the elements of the applications are considered as objects. Each object belongs to particular class like list box, edit box, button. image, link etc.

Object Repository is a collection of object and properties with which QTP will be able to recognize the objects and act on it. When a user records a test, the objects and its properties are captured by default. Without understanding objects and its properties, QTP will NOT be able to play back the scripts.

Object repository acts as a container to store test objects. Test object is the object created by QTP in the test script to represent the object present in the application.

Read More

UFT/QTP – Object Identification

UFT performs actions on the objects of an application by learning and identifying the objects in the application. The Process of uniquely identifying an object from the application is called as object identification.

UFT uses two modes of object identification to recognize the objects uniquely.

  • Normal Identification
  • Smart Identification

Normal Identification – This is a default object identification mode in this mode UFT has two list of properties based on which it will identify the object. First list is the mandatory properties. UFT learns these default properties values and checks if any object matches the description. If object not found uniquely in the application  it adds properties from the second list called as assistive properties. Assistive properties added one by one till an unique object is not identified.

“Mandatory properties are properties that UFT always learns for a particular test object class.”

Assistive properties are properties that UFT learns only if the mandatory properties are not sufficient to identify unique objectRead More

UFT/QTP – Actions

Actions help to divide your test into logical units. Actions are similar to functions in VBScript, however there are few differences. When you create a test, it include one action by default.

You can divide your test into multiple actions by:

  • Creating new actions and inserting calls to them
  • Inserting calls to existing actions
  • Splitting existing actions

Read More