6. Generating Basic script:
From QTP 9.5 version onwards we can create script using Test
objects by performing Drag & Drop operation.
7. Add/Remove Description properties:
Some times when there is a similar objects are exist in
application then default collected description properties may not sufficient to
identify Runtime object, then we can add some other properties for a Test
object
Navigation:
Ø Select “Test object” in OR
Ø Click on [+] button in Description
properties
Ø Select property name
Ø ...
Thursday, 11 September 2014
Object Repository Part-3
Operations in OR:
Adding Test objects:
To identify runtime objects we should provide test objects
into OR
Learning process:
i.
Auto-learning
ii.
Pre-Learning
iii.
By...
Object Repository Part-2
Associating shared OR:-
---------------------------
In general we prefer shared OR in organization,
Based on requirement we associate shared OR to an action script
Method1: from “Resources” menu
Navigation: “Resources” menu
>>Select “associated repositories”
>>Click on “+” button
>>Browse “shared OR “file path
>>Select “Action name” in available Actions list
>> Add into associated actions list
>>Click “OK”
Method2: “Resources”...
Object Repository Part-1
Object Repository
It has objects and it’s properties which are used in the script during runtime
the tool will search for the object repository, based on properties it will recognize the object in application.
Object Repository Types:-
In QTP we have 2 types of OR’s
a.Local OR (per-Action)
b.Shared OR
a.Local OR:-
------------------
It is a default OR type for each action in QTP
For each action QTP provides individual Local OR
When we save\open test by default QTP implicitly save\open corresponding Local OR
w.r to test
**Local...
Launching application using Script PART-2
VB Script
for web based application to perform operations
Object type
Object Class
Browser
Browser(“Browser name”)
Page
Page(“Page name”)
Frame
Frame(“Frame name”)
Table
WebTable(“Table name”)
Link
Link(“Link name”)
Edit box/Text box
WebEdit(“Edit box name”)
List box/combobox
Weblist(“list box name”)
Check box
WebCheckbox(“checkbox name”)
Push button
WebButton(“object name”)
...
Subscribe to:
Posts (Atom)