Order Of Test Process In Uft

Recording Test Scripts or Keyword driven methodology or Descriptive Programming, Inserting Checkpoints or VBScript Control Flow statements, Adding Comments, Exception Handling, Batch Testing, Data Driven Testing and Database Testing.
Post Reply
dsusmitha
Posts: 62
Joined: Fri Nov 23, 2018 2:51 am

Order Of Test Process In Uft

Post by dsusmitha » Fri Nov 30, 2018 11:01 am

What is the Order Of Test Process In Uft Explain in Detail with Examples ?

AyubHussain
Posts: 138
Joined: Fri Nov 23, 2018 2:48 am

Re: Order Of Test Process In Uft

Post by AyubHussain » Fri Nov 30, 2018 11:06 am

Order Of Test Process In Uft :

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)

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

Post Reply

Return to “Creating UFT Tests”