Share this page

Relation Class
This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its relation with respect to other objects in the view.

C# Syntax

    public class Relation

Public Constructors

| Name | Description
--- | --- | ---
| Relation Constructor | Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation. C# Syntax
    public Relation ()
| Relation Constructor (Direction, int) | Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation. C# Syntax
    public Relation (RelationType relationType, IAIObject anchor)
Parameters relationType The relation type with respect to the IAIObject. anchor The IAIObject which has a visual relation with respect to the object to be identified.

Top
Public Methods

| Name | Description
--- | --- | ---
| GetProperties | Returns the inner properties of this property. C# Syntax
    public IDictionary<string,object> GetProperties()

Top
Public Properties

| Name | Description
--- | --- | ---
| RelationType | The relation type with respect to the IAIObject. C# Syntax
    public RelationType RelationType {get; set;}
| Anchor | The IAIObject which has a visual relation with respect to the object to be identified. C# Syntax
    public IAIObject Anchor {get; set;}

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: