HP UFT Tutorial


UFT Class two (UFT Test Process)

I) Planning

Get Environment Details from Development squad (UI pattern applied scientific discipline together with Database) together with conduct appropriate Add inwards for our AUT

    UI pattern - for selecting Add ins

    Database - to exercise Database Connection string


UFT Deployment / Installation

Analyzing the AUT inwards price Object Identification

Select Tests for Automation

    Tests that tin live on executed on Every construct (Sanity Tests)
    Tests that tin live on executed on Every Modified construct (Regression Tests)
    Tests that tin live on executed using multiple sets of Test Data(Data Driven Tests)

Tool settings Configuration together with 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 together with DP)
---------------------------------------
III) Enhancing Tests

Try to role VBScript features:

a) VBScript features are faster inwards execution

b) VBScript features won't corrupt

c) Script features accept no limitations

d) All VBScript features tin live on used internally besides every mo externally
-----------------------------------------------------
    1) Inserting Checkpoints (9 + 3) (UFT)

    2) Inserting Output values (UFT)
   
    3) Inserting Transaction Points (UFT) (Start together with End) / Timer Function (VBScript)

    4) Inserting Flow command 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 cause got dynamic objects
        For search operations
    12) Using Automation Objects (VBScript)
   
    13) Error Handling (VBScript, UFT)
----------------------------------------------
IV) Running together with Debugging (Optional) Tests

V) Analyzing Test Results

VI) Reporting Defects

Sumber http://www.gcreddy.com/
Post a Comment (0)
Previous Post Next Post