Object Recognition

Silk4NET identifies any control in the application under test (AUT) by combining the name of the control class and a collection of prioritized attributes into a unique XPath locator. If the combined XPath locator does not uniquely identify the control, Silk4NET additionally adds an index to the locator. During recording, Silk4NET allows you to select an alternative locator for a control from the list in the Locator field of the Choose Action dialog.

Within Silk4NET, literal references to identified objects are referred to as locators. Silk4NET uses locators to find and identify objects in the application under test (AUT). Locators are a subset of the XPath query language, which is a common XML-based language defined by the World Wide Web Consortium, W3C.