UFT Test Process


UFT Tutorial Part iv (UFT Test Process) 
I) Test Planning
 a) Get Environment (UI Design Technology too Database)Details from Development Team too choose appropriate Add ins

b) Analyze the AUT inward damage of Object Identification

c) Select areas / Test cases for Automation
        1) Tests that nosotros bring to execute on every construct (Sanity Tests)
        2) Tests that nosotros bring to execute on every modified construct (Regression Tests)
        3) Tests that nosotros bring to execute using multiple sets of Test Data (Data Driven Tests)

d) Tool settings Configuration too Globalize
 
e) Automation Framework Implementation (Optional)
 

II) Generate 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 Approach
    High Level (Test Level)
    Low Level (Statement/ Step Level)

Statement

OR                DP
ParentTestObject("ObjectName").ChildTestObject("ObjectName").Method / Operation -Correct Syntax

DP                OR
ParentTestObject("ObjectName").ChildTestObject("ObjectName").Method / Operation -Invalid Correct Syntax

-----------------------------------------------------
III) Enhance Tests

Try to growth the usage of VBScript features
---------------------------------------------
a) VBScript features won’t corrupt

b) VBScript features are faster inward execution

c) VBScript logic doesn't bring whatsoever limitations

d) All VBScript features tin last used internally besides equally externally
-------------------------------------
1) Inserting Checkpoints (9+3) (UFT)

2) Inserting Output Values (7) (UFT)

3) Parameterization (UFT, VBS)
    What is Parameterization?
    Purpose of Parameterization
    Relation betwixt Parameterization too Data Driven Testing
    Difference betwixt Parameterization too Data Driven Testing
    How to Parameterize?

4) Adding Comments (Optional)

5) Inserting Transaction Points (Start/End) (UFT) / Timer Function

6) Generating Steps using Step Generator

7) Synchronization (UFT, VBS)
    What is Synchronization?
    Why Synchronization?
    When Synchronization is required
    How to Synchronize?

8) Define Test Result
    Define Test Result using Reporter Utility Object

9) Calling Actions, Functions (UFT, VBS)

10) Environment Variables

11) Regular Expressions

It is formula for matching patterns

Constant matching

india.doc - india.doc
---------------------
Pattern Matching

i*.

ia...
ib....
.
.
india.doc

Usage of Regular Expressions inward UFT
    To cause got Dynamic objects
    For Search operation
------------------------------
12) Inserting Flow Control Statements (VBS)

a) Conditional Statements
    1) If statement
    2) Select Case statement

Purpose of Conditional Statements inward UFT

    To insert Verification points
    For Error Handling

Types of Conditions

1) Single Condition

If a > b Then

2) Compound Condition

If a > b And a > c Then

3) Nested Condition

If a > b Then
 If a > c Then
  If a > d Then
------------------------------
Positive Condition

If a > b Then

Negative Condition

If Not a > b Then
------------------------------------
b) Loop Statements
    1) For...Next
    2) While...Wend
    3) Do While / Until...Loop
    4) For Each...Next

13) Using Automation Objects

a) File System Operations
    What is Computer File System?
    Examples for File System Operations
    How goal user performs File System Operations
    How to perform automatic File System Operations using VBScript
-----------------------------------
Creating Automation Objects

Set Variable = CreateObject("ClassValue")
------------------------------

Class value for creating File System Object

("Scripting.FileSystemObject")
----------------------------------------------------

b) Excel Application Operations

Excel Application Object

It is used to perform automatic Excel Application Operations

Class value for creating Excel Application Object

("Excel.Application")

c) Word Application Operations

d) Database Operations

i) Database Connection Object

ii) Database Recordset object

e) Dictionary Object
----------------------------------------

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