SlObjectIndex Property

Applies to TestComplete 14.60, last modified on April 22, 2021

Description

The SlObjectIndex property returns the index of a Silverlight object it has among its sibling objects of the same type. This value is used to distinguish objects that have the same type (class name) and contain the same text.

Declaration

TestObj.SlObjectIndex

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

All Silverlight application objects.

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

An integer value that specifies the object’s index.

Remarks

The SlObjectIndex property is used for addressing objects and is applied to any object of a Silverlight application, except for the SlApplication program object.

The SlObjectIndex property is only available if the Silverlight Application Support plugin is installed. Otherwise, this property is not in the object’s property list.

See Also

Addressing Objects of In-Browser Silverlight Applications

Highlight search results