WinFormsControlName Property

Applies to TestComplete 15.64, last modified on May 16, 2024


The WinFormsControlName property contains the name of a .NET object as specified by the developers when they built the application. This name is used in the WinFormsObject(obj_name) notation in the Object Browser.



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 objects in .NET applications that use the Microsoft Windows Forms (WinForms) library.

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 object’s native name in the application.


The WinFormsControlName property is the same as NativeClrObject.Name.

The WinFormsControlName property is only available if the .NET Application Support plugin is installed and the application under test is a .NET application created with Microsoft Windows Forms. Otherwise, this property is absent in the object’s property list.

See Also

ClrClassName Property
ClrFullClassName Property
Testing .NET Applications
WinFormsObject Method

Highlight search results