UFT Tutorial 2

UFT Class 2 - UFT Test Process
Software Test Process / STLC
i) Test Planning

ii) Test Design

iii) Test Execution

iv) Test Closure
------------------------
UFT Test Process
Phases

i) Planning

ii) Generate Basic Tests

iii) Enhance Tests

iv) Run & Debug Tests

v) Analyze Test Results

vi) Report Defects
-----------------------------------
Introduction to UFT
HP UFT latest version: 12.51 (September 2015)

> It is a Functional & Regression Test tool

> Advanced version of QTP is UFT (UFT = QTP + Service Tools)

(QTP 6.5 to 11.00, UFT 11.5 to 12.51 ........)

> UFT is an Object based Test tool

> UFT supports Windows based and Web based Applications

Windows based:
Window, Dialog box, Button, Edit box, List box, Text box, Text area, Drop down box,
Combo box, check box, radio button etc....

Web based:
Browser, Page, Link, Image, WebTable, Frame, Button, Edit box, List box, Text box, Text area, Drop down box,
Combo box, check box, radio button etc....

> UFT recognizes objects in our application based on Add ins.

a) Internal Add ins
1) Standard Windows (default)

2) Activex

3) Mobile

4) Visual Basic

5) Web
---------------
b) External Add ins
Java

SAP for gui

SAP for web

.NET for windows forms

.NET for web forms

WPF

Sibel

TE

Web Services

People soft

Oracle

Delphi

Stingray

Smalltalk etc...
-----------------------------------------
> UFT has an integrated VBScript engine to enhance Tests

> UFT has an integrated MS Access Database engine for Database operations.

> UFT developed in .NET (VC++) technology.

> UFT is I-tier Application.
----------------------------------
Phases of UFT Test Process
i) Planning------------------

> Get AUT environment details (UI design technology and Database) form development for selecting appropriate Add ins.

> Analyze the AUT in terms of Object Identification

How to recognize objects

    By Record & Play back

    Using object Spy

    Map objects in between OR and AUT

> Select Test cases for Automation

    Tests that we have to execute on every build (Sanity Tests)

    Tests that we have to execute on every modified build (Regression Tests)

    Tests that we have to execute with multiple sets of Test data (Data driven Tests)

> Tool settings configuration and globalize

> Automation Framework Implementation (Optional)
-----------------------------------------------------
ii) Generating Basic Tests
a) Object Repository based Test design

        1) Recording
        2) Keyword driven methodology

b) Descriptive Programming
        1) Static programming
        2) Dynamic Programming
--------------------------
c) OR based + DP
-------------------------------------------------
iii) Enhancing Tests
Try to increase the usage of VBScript.

1) Script features won't corrupt.

2) Faster in Execution

3) Script features have no limitations.

4) All script features can be used internally as well as Externally.
-----------------------------------------
    1) Inserting Checkpoints

    2) Inserting Output values

    3) Inserting Transaction points

    4) Parametrization

    5) Synchronization

    6) Using Environment variables

    7) Using Regular expressions

    8) Using VBScript Flow control statements

    9) using Functions

    10) Error Handling (using Recovery scenarios, and VBScript features)

    11) Using Automation objects

    12) Add Comments
--------------------------------------------------------

No comments:

Post a Comment