SlClassName Property

Applies to TestComplete 15.64, last modified on June 12, 2024


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.



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.


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