Highlighted
Absent Member.. Absent Member..
Absent Member..
554 views

QTP/UFT Support Tip: How to define object filters for the Object Repository?

Hello everyone,

 

Object Filters enables the user to define which objects should be learned or ignored while adding new objects to the Object Repository.

 

How can these object filters be modified?

 

To access the "Define Object Filter" dialog, do one of the following:

 

- In the Object Repository Manager window, select Object > Navigate and Learn.

- In the Object Repository window, add a test object to the object repository using the Add Objects to Local and selecting an object that contains child objects.

- In the Object Repository Manager, add a test object to the object repository using the Add Objects and selecting an object that contains child objects.

 

The following options are available:

 

* Selected object only (no descendants): Adds to the object repository the previously selected object's properties and values, without its descendant objects.

* Default object types: Adds to the object repository the previously selected object's properties and values, with the properties and values of its descendant objects according to the object types specified by the default filter. The user can see which objects are in the default filter by selecting Selected object types, clicking the Select button, and then clicking theDefault button.

* All object types: Adds to the object repository the previously selected object's properties and values, together with the properties and values of all of its descendant objects.

* Selected object types: Adds to the object repository the previously selected object's properties and values, as well as the properties and values of its descendant objects according to the object types and classes the user specifies in the object filter. The user specifies the objects and classes in the filter by clicking the Select button and selecting the required items in the Select Object Types Dialog Box.

 

 

Note: The selected option in the Define Object Filter dialog box is saved and used for each subsequent learn session.

 

I hope this helps.

 

Thanks,

Braulio

HP | Unified Functional Testing Engineer

[If this post or any other post helps to resolve your issue or query, mark the thread as solved and give KUDOS to the author for their assistance. ]

(Posts and opinions made here are my own and do not reflect the opinions of my employer HP in any way)
Labels (2)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.