UFT Tutorial 4

 UFT Class 4

(UFT Tool Window Architecture Part-2, Record as well as Run Tests Part-1)

d) Data Table:

It is an integrated spread canvass for Data Related operations

Using Data Table nosotros tin run alongside Flat files, Excel files as well as Database files.
Or
Using VBScript Automation Objects nosotros tin run alongside Flat files, Excel files as well as Database files.

Navigation:

View menu-> Data

It has ii types of sheets

a) Global canvass (For Entire Test)

b) Action Sheets / Local sheets (for specific Actions)

UFT Attaches ane Data Table for every novel Test

Data Table located inwards ii areas

i) In UFT Main window (Design fourth dimension Data Table)

ii) In UFT Result window (Run-time Data Table)

Usage of Data Table:

i) Enter Test information into Data Table as well as connect to the Test

ii) Import Test information from external files (Text/Excel) as well as connect to the Test

iii) Import exam information from a Database as well as connect to the test
---------
iv) Using Data Table methods as well as Programmatic statements

Note: We insert Programmatic statements inwards social club to overcome simply about limitations of Tool features.
---------------------------------------------------------
e) Errors

It shows syntax errors automatically land saving the Test.

Or

View -> menu
---------------------------------
UFT Commands

In iii ways

a) As Menu items

b) As Tool bar items

c) As shortcut keys.
------------------------------
UFT Tool Menus (12)

a) File Menu

Create New Test

Open Existing Test

Add Test (Using this ascendancy nosotros tin opened upward multiple tests at a fourth dimension inwards UFT Tool editor)

Save Test

Close Test

Settings
    Associate Resource files
        Associate Function library files
        Associate Recovery Scenario files
        Associate Environment Variables files
Export to Test to Zip

Import Test from Zip

Exit
-------------------
2 Edit Menu

Redo

Undo

Cut

Copy

Paste

Delete

Format

Code snippet (To generate VBScript conditional as well as Loop statements syntax)
-----------------------
3) View menu

Data Table

Active Screen

Errors

Debug

Test Flow

Switch from Editor View to Keyword stance as well as vice versa

Launch Result window

Etc....
--------------
4) Search menu:

Find

Find next

Replace

Incremental search

Goto
Etc...
------------------------
5) Design Menu:

Create New Action

Call to existing Action

Copy Action

Insert checkpoints

Insert Output values

Insert Transaction points

Insert Synchronization point

Launch Step Generator

Function definition Generator etc...
------------------------
6) Record Menu
-----------------------
Record (Normal Recording)

Stop

Analog Recording

Low Level Recording

Insight Recording

Record as well as Settings Etc...
------------------------------
7) Run Menu

Run

Pause

Stop

Compile

Run modes

Step into

Step over

Step Out

Insert / Remove Breakpoints

etc...
-----------------------------
8) Resources menu

Launch Object Repository

Edit Local Objects

Create Shared Repository

Edit Shared objects

Associate shared repositories

Create New Recovery scenario

Edit existing Recovery scenario etc...
--------------------------------------
9) ALM

ALM Connection

Checkout

Checkin

Version History

Baseline History etc...
------------------------------------
10) Tools Menu

Object Spy

Object Identification

Virtual Objects

Data Driver

Regular seem evaluator

View Options

Tool options
Etc...
-------------------
11) Window Menu

Next window

Previous window

Close all documents
-------------------------------
12) Help menu

UFT Tool features documentation

VBScript documentation

New features

Knowledge forums

Updates

Technical Support

Product info

License info
etc...
-------------------------------------------------------------------
UFT Test process
    Generating Basic Tests
        Object Repository based Test design
            Recording

Record as well as Run Tests
----------------------
What is Test Recording?

It is procedure of generating steps for every user activeness AUT as well as storing objects information into Object Repository.

Steps for Recording:
Select Record:
    Record menu-> Record
    Or
    Select Record ascendancy from the Tool bar
    Or
    User F6 shortcut key

-> Click OK

-> Navigate the Application

-> Stop Recording
------------------------
After Recording
i) UFT generates steps / statements for all user actions on AUT

ii) UFT stores Objects information inwards to Object Repository.


What is Test Run/Execution?

Recording Modes

    Normal Recording

It records user mouse as well as keyboard operations based on objects
Or
It records user context sensitive operations based on objects

Drawback:

It is unable to tape user continuous mouse operations.

It is the default manner of UFT

Note: Without selecting Normal recording manner nosotros can't pick out other recording modes.

    Analog Recording

    Low Level Recording

    Insight Recording

Advantages of Recording

Disadvantages of Recording.

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