Share this page

Position Class
This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its position.

C# Syntax

    public class Position

Public Constructors

| Name | Description
--- | --- | ---
| Position Constructor | Constructs a new Position that can be used to uniquely identify an IAIObject by its position. C# Syntax
    public Position ()
| Position Constructor (Direction, int) | Constructs a new Position that can be used to uniquely identify an IAIObject by its position. C# Syntax
    public Position (Direction direction, int index)
Parameters direction The direction in which to count the position index. index The ordinal number of the object in the context. Starting with 0 for the first object. The objects that match the description are counter in the direction specified.

Top
Public Methods

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

Top
Public Properties

| Name | Description
--- | --- | ---
| Direction | The direction in which to count the position index. C# Syntax
    public Direction Direction {get; set;}
| Index | The ordinal number of the object in the context. C# Syntax
    public int Index {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: