UFT Tutorial 5 - Introducing UFT Tool

UFT Tutorial 5 - Introducing UFT Tool
Download and Install UFT 12.51 software from HP website.

UFT is I-tier Application, we can't share services, but we can share resources.

UFT Services:

Object Repository,


Step Generator etc...
UFT Resources
Shared object repository files

Function library files,

Environment variables file etc...
> Launch UFT

Add in Manager

It shows all available Add ins in our company, we have to select appropriate Add ins for our Application.

Test Pane

It is an area where we create, view and modify Tests/Test Scripts.

It has two views,

i) Editor view - Test in VBScript format

ii) Keyword view - Test in GUI format

Switch from Editor view to Keyword view

View menu -> Keyword view

Switch from Keyword view to Editor view

View menu -> Editor
Test / Test Script - One or more Action to perform actions

Action - Set of statements or steps to perform actions.

Statement / Step / Instruction - a minimal executable unit
Active Screen

It captures and holds Screen shots for every user operation on AUT during record.

Using Active Screen we can easily understand and update the Test/Test Script

It requires more memory, so tool performance will be reduced.

Launch Active Screen

View menu -> Active screen
Data Table

It is an Integrated workbook (bunch of sheets) for Data related operations

Launch Data Table

View menu -> Data

It has 2 types of sheets

i) Global sheet for entire test

ii) Actions sheet/s / Local Sheets

> UFT attaches one Data Table for every Test.

Usage of Data table
i) Enter test data directly into Data Table and connect to the Test

ii) Import test data from an external file (Text/Excel) and connect to the Test

iii) Import test data from a database and connect to the Test
iv) Insert Programmatic statements and use Data Table methods.

> Data Table is located in 2 areas

i) in UFT tool main window (Design time Data Table)

ii) In UFT tool Result window (Run-time Data Table)
Errors pane

View menu -> Errors

It shows syntax errors automatically while saving the Test.
UFT Commands

UFT commands available in 3 ways,

i) As menu items

ii) As tool bar items

iii) As shortcut keys
UFT Tool Window

UFT tool window has 12 menus,

1) File menu

Create New Test

Open Exiting Test

Add Test (New or Existing)

Save Test

Close Test

    Associate Function library files
    Associate Environment variables file
    Associate Recovery scenario files.

Export Test to Zip

Import Test

Exit UFT
2) Edit Menu







    Uncomment etc...

Code snippet
    Generate Conditional statements
    Generate Loop statements
3) View menu




Active Screen


Test Flow

Switch from Editor to Keyword view and vice versa

Result viewer
4) Search



Incremental Search

Reverse Incremental Search

Go To
5) Design Menu

Call to New Action

Call to Copy of Action

Call to existing Action

Insert Checkpoints

Insert Output values

Insert Transaction points

Insert synchronization point

Launch Step Generator

Function Definition generator
6) Record menu
Default Record

Analog Recording

Low level Recording

Insight Recording

Record and Run Settings
7) Run Menu

Recent Reports

Debug Commands
    Step into
    Step over
    step out

Run Modes

Insert /Remove Breakpoints

Enable / Disable Breakpoints
8) Resources menu
Launch Object Repository

edit Local objects

Create, Edit shared object repositories

Associate Repositories...

Create New Recovery scenario

Edit Recovery scenarios
9) ALM
Connect to ALM
10) Tools Menu
Object Spy

Object Identification Configuration

Regular expression evaluate

Data driver

Virtual object Configuration

    Tool options
    Editor options

11) Window menu
Next window

Previous window

Close all Documents

12) Help menu
UFT tool help documentation

VBScript help documentation

HP Software support online

Testing Forums

New features information

Product information

License information

No comments:

Post a Comment