WinFormsControlName Property

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

Description

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.

Declaration

TestObj.WinFormsControlName

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.

Remarks

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