UFT Tool Architecture



UFT Tool Architecture
2) Add in Manager

b) UFT Editor

2 views

Editor view - Test in VBScript format

Keyword view - Test in GUI format
---------------

It is an area where we create, View and Edit Tests


Test- One or more Actions to perform tasks

Action - Set of statements to perform tasks

Statement / Step - A minimal executable unit


Msgbox "UFT" : Msgbox "VBScript" - One line, Two statements

--------------------------------------
3) Data Table

View Menu -> Data

It is an integrated spread sheet for Data related operations

It has 2 types sheets

i) Global Sheet - For entire Test

ii) Action sheets / Local Sheets

-----------------------
UFT attaches one data table for every Test

Data Table located in 2 areas

i) Design Time Data Table (In UFT Tool main window)

ii) Run-time Data Table (Result Window)

Usage of Data Table:
---------------------
i) Enter data directly into Data Table and connect to Test

ii) Import data from external files (text/Excel) and connect to Test

iii) Import data from a database and connect to Test
Active Screen

It captures and holds screen shots for every user operation on AUT during Test Recording

Advantage:

    Understanding and Editing Test Scripts

Disadvantage:

    Performance will be reduced during Test execution

Navigation:

    View menu-> Active screen

--------------------------------
4) Errors

It shows syntax errors automatically while saving the Test
------------------------------------------
UFT Commands available in 3 ways

i) As menu items

ii) As Tool bar items

iii) Shortcut keys
---------------------
5) Menus of UFT (Total 12 Menus)

1) File Menu
------------
Create New Test

Open Existing Test

Add Test

Save Test

Close Test

Settings
    Associate Function Library files
    Associate Environment Variables file
    Associate Recovery scenario files

Export Test to Zip format

Import Test from ZIP

Exit
---------------------------------
2) Edit menu
---------------
Redo

Undo

Cut

Copy

Paste

Delete

Format

Code snippet
--------------------------
3) View Menu

Data Table

Active Screen

Errors

Debug

Test Flow

Switch from Editor View to Keyword view and vice versa

Launch Result window
Etc...
---------------------------
4) Search menu

Find

Find Next

Replace

Incremental search

GoTo etc...
------------------------------
5) Design Menu

Create New Action

Call existing Action

Copy Action

Insert Checkpoints

Output values

Transaction points

Function definition generator

Step Generator

Synchronization Point

Etc...
-------------------------------
6) Record

Record

Stop

Analog Recording

Low Level Recording

Insight Recording

Record & Run Settings etc...
------------------------------
7) Run Menu

Run

Stop

Run Modes

Step into

Step over

Step Out

Insert / Remove Break point etc...

-------------------------
8) Resources

Launch Object Repository

Edit Local Objects

Create Shared object Repository

Edit Shared Repositories

Associate Shared Repositories

Create Recovery Scenario

Edit Recovery Scenario
Etc...
------------------------
9) ALM menu

ALM Connection

Check in

Check out

Version History

Baseline history etc...
-------------------------
10) Tools

Object Spy

Object Identification configuration

Regular expression evaluator

Data driver

Virtual objects

Tool options

View options

etc...
-----------------------
11) Window menu

Next window

Previous window

Close all documents
--------------------------
12) Help menu
----------------------
UFT Tool documentation

VBScript documentation

New features information

Test Forums

Technical support

Knowledge

Check for update

UFT product info

UFT License info
-----------------------------------------

Software Test Process
-----------------------------
I) Test Planning

Input / References
-------------------
Requirements

Project Plan

Test Strategy
------------------
Corporate Standards document

Process guidelines doc

Design docs

Prototypes etc...
-------------------
Tasks:
    Understanding and analyzing the Requirements
    Risk Analysis
    Test Strategy implementation
    Test Estimations (Scope of the Project, Time, Available resources, Budget etc...)
    Team formation
    Test Plan documentation
    Configuration Management Planning
    Traceability Matrics
    Define Test Environment Set-up
Output:
Test Plan Document
-------------------------------------
II) Test Design

Input / references

Requirements

Test Plan
------------------
Corporate Standards document

Process guidelines doc

Design docs

Prototypes etc...
-------------------
Test Case Template

Test data template

Tasks:
--------
    Understanding Requirements
    Generate Test Scenarios
    Test Case Documentation
    Test Data Collection

Output:
Test Case documents
Test Data
-------------------------
III) Test Execution
Input / references

Requirements
Test Plan
Test case docs
Test Data
-----------
Defect Report template
-----------
Readiness of AUT
Readiness of Test Environment
-----------------------------------
Tasks:
    Verify Test Environment set-up
    Create Test batches
    Test Execution
        Sanity Testing / smoke / BVT/BAT
        Comprehensive testing
        Defect Reporting
        Defect Tracking
        Sanity Testing
        Regression testing Cycle 1
        Defect Reporting
        Defect Tracking
        Sanity Testing
        Regression testing Cycle 2
        Defect Reporting
        Defect Tracking
        .
        .
        Final Regression
Output:

Opened / Closed Defect Reports
Tested Software

IV) Test Closure
---------------------------
Input:

Requirements
Test Plan
Test case docs
Test data
Opened and closed defect Reports
------------
Test summary Report

Tasks
--------
    Evaluating exit criteria
    Collect all artifacts
    Prepare Test summary Report
    Send Test deliverables to customer
    Improvement suggestions for future projects
---------------------------------------------------

0 comments:

Post a Comment