Blog to understand automation concepts in QTP, Selenium Webdriver and Manual Testing concepts

Creating a visual relation Identifier for object Identification

A visual relation identifier is a set of definitions that enable you to identify the object in the application according its neighboring objects in the application. Virtual relation identifier can be useful to identify objects that are not uniquely identified using object properties but can be identified based on relative position of other stable and uniquely identified objects in the application.


Creating a visual relation identifier for an object


1. To create a visual relation identifier for an object, go to object repository window and select the object for which visual relation identifier needs to be created.

2. In the Visual Relation Identifier Settings row, click in the Value cell.

3. Click the Browse button in the text box

4. Define relation of object relative to other objects.


Visual relation identifier


Some Important points to remember about visual relation identifier are:


1. Visual relation identifier are taken into consideration if object is not uniquely identified using the object identification Properties.

2. Visual relation identifier have preference on smart identification for object recognition.

3. Ordinal Identifiers are ignored if visual relation identifier is defined for an object.

4. Visual Relation identifier are created for an object based on relative position of other stable object, i.e. objects existing left, right, top , bottom relative to object to be identified can be used for relative identifier.

5. Relative Objects should exist in object repository before a relation can be created.

6. Relative visual identifier cannot be used in Descriptive Programming as objects should exist in OR.

7. This is used to filter in case of multiple objects in the application matching object definition but are placed relative to other object in application.

8. If no objects in the application match the test object’s description properties, then the visual relation identifier you defined is ignored.

9. Visual relation identifiers are not supported for WebService test objects.



No comments:

Post a Comment