SlClassName Property

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

Description

The SlClassName property returns the short class name of an object of a Silverlight application. Examples of short class names are RadioButton, ToggleButton, TreeViewItem, etc.

To address objects of Silverlight applications, use the UIAObject method. This method can address an object by its name, or by its class name and index. The SlClassName property value can be used as the first parameter (class name) of this method.

Declaration

TestObj.SlClassName

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

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

The string holding the short class name of a desired object.

Remarks

To get the object’s full class name (including the namespace), use the SlFullClassName property.

The SlClassName 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
SlFullClassName Property

Highlight search results