Removing Virtual Object Definition

Removing or Disabling Virtual Object Definitions:

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
You can remove virtual objects from your test by deleting them or by disabling recognition of these objects while recording.

To delete a virtual object:
  1. Select Tools > Virtual Objects > Virtual Object Manager. The Virtual Object Manager opens. For more information, see The Virtual Object Manager Dialog Box.
  2. In the list of available virtual object collections, click the plus sign (+) next to the collection to display the virtual object you want to delete. Select the virtual object, and click Delete.
  3. To delete an entire collection, select it and click Delete.
  4. Click Close.
  5. Tip: Click New in the Virtual Object Manager to open the Virtual Object Wizard, where you can define a new virtual object.

To disable recognition of virtual objects while recording:
  1. Select Tools > Options or click the Options toolbar button . The Options dialog box opens.
  2. In the General pane, select the Disable recognition of virtual objects while recording check box.
  3. Click OK.
  4. Note: When you want QuickTest to recognize virtual objects during recording, ensure that the Disable recognition of virtual objects while recording check box in the General pane of the Options dialog box is cleared. For more information, see Setting General Testing Options.

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

Post a Comment


Close Menu