SlObjectName Property

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

The SlObjectName property returns the name of a Silverlight object as it is specified in the application’s source code (if any).

Declaration

TestObj.SlObjectName

Read-Only Property String
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

A string that contains the object’s name or an empty string if no name is specified for the object in the application’s code.

Remarks

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

The SlObjectName 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