GenerateLocator Method (TestObject)

Class

TestObject.

Action

Returns a locator for this object.

The locator is created in the same way it is created during recording.

Syntax

C#
result = testObject.GenerateLocator()
VB
result = testObject.GenerateLocator()
Variable Description
result String.