ClrClassName property returns the short class name of an object of a .NET application that was created with the Microsoft Windows Forms or Borland VCL.NET library or of a WPF application. Examples of short class names are
You can use the value of the
ClrClassName property when obtaining a window or control of a .NET application via the
Window.VCLNETObject method or when obtaining a control of a WPF application via the
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
All .NET and WPF application objects.
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The string holding the short class name of a desired object.
To get the object’s full class name (including the namespace), use the
The object’s class name may be unavailable to TestComplete. For instance, this happens if a .NET application was processed with an obfuscator. In this case, TestComplete replaces the class name with an underscore and an index.
ClrClassName 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 or Borland VCL.NET library or a WPF application. Otherwise, this property is absent in the object’s property list.
Testing .NET Applications
VCLNETObject Method (Window Objects)
VCLNETObject Method (Process Objects)