UFT Test Process

UFT Class 2 (UFT Test Process)

I) Planning

Get Environment Details from Development team (UI design technology and Database) and select appropriate Add in for our AUT

UI design – for selecting Add ins

Database – to create Database Connection string

UFT Deployment / Installation

Analyzing the AUT in terms Object Identification

Select Tests for Automation

Tests that can be executed on Every build (Sanity Tests)
Tests that can be executed on Every Modified build (Regression Tests)
Tests that can be executed using multiple sets of Test Data(Data Driven Tests)

Tool settings Configuration and Globalize
Object Identification Configuration
Test settings Configuration
Tool options Configuration etc…

Automation Framework Implementation (Optional)

II) Generating Basic Tests

a) Object Repository based Test Design

1) Recording
2) Keyword driven methodology

b) Descriptive Programming / Programmatic descriptions

1) Static programming
2) Dynamic Programming

Hybrid (OR and DP)

UFT Testing Life Cycle

III) Enhancing Tests

Try to use VBScript features:

a) VBScript features are faster in execution

b) VBScript features won’t corrupt

c) Script features have no limitations

d) All VBScript features can be used internally as well as externally
1) Inserting Checkpoints (9 + 3) (UFT)

2) Inserting Output values (UFT)

3) Inserting Transaction Points (UFT) (Start and End) / Timer Function (VBScript)

4) Inserting Flow control statements (VBScript)
a) Conditional statements
i) If statement
ii) Select Case statement

b) Loop statements
i) For…Next
ii) Do While / Until…Loop
iii) While…Wend
iv) For Each…Next

5) Generating steps using Step Generator (UFT)

6) Synchronization (UFT, VBS)

7) Parametrization (UFT, VBS)

8) Using Environment variables
For centralized maintanense of Variables
Tests portability

9) Adding comments

10) Calling Actions (UFT), Functions (VBScript)

11) Using Regular Expressions
To handle dynamic objects and for search operations

12) Using Automation Objects (VBScript)

13) Error Handling (VBScript, UFT)

IV) Running and Debugging (Optional) Tests

V) Analyzing Test Results

VI) Reporting Defects

Follow me on social media: