Virtual Objects Configuration Option

Object Configuration Screen Options:

Some other posts that can be very useful on the Virtual Objects In QTP :

Removing-virtual-object-definition In QTP
Virtual-objects-configuration-option In QTP
Understanding-virtual-objects In QTP
Qtp-virtual-objects In QTP



Option

Description

Select the parent of the virtual object area

Enables you to select an object in the tree as the parent object. The coordinates of the virtual object outline are relative to the parent object.

Selected parent box
(read-only)

Indicates the name of the object selected as the parent object.

Identify object using area

Indicates how you want QuickTest to identify and map the virtual object, as described below. The coordinates of the virtual object outline are relative to the parent object you select.

Entire parent hierarchy radio button

Select this option to identify the virtual object in one occurrence only. QuickTest identifies the virtual object only if it has the exact parent hierarchy.

For example, if the virtual object is defined using Browser("A").Page("B").Image("C"), QuickTest does not recognize it if the hierarchy changes to Browser("X").Page("B").Image("C").

Parent only radio button

Select this option to identify all occurrences of the virtual object. QuickTest identifies the virtual object using its direct parent only, regardless of the entire parent hierarchy.

For example, if the virtual object was defined using Browser("A").Page("B").Image("C"), QuickTest will recognize the virtual object even if the hierarchy changes to Browser("X").Page("Y").Image("C").

Back button

Click Back to go to the Mark Virtual Object screen.

Next button

Click Next to go to the Save Virtual Object screen.

The below stuff is very important and very frequently used by any QTP programmer in Object identification using QTP.

0 comments:

Post a Comment