Description
The ClrFullClassName
property returns the full class name of an object of a .NET application created with the Microsoft Windows Forms or Borland VCL.NET library or of a WPF application. The full class name includes the namespace that the class belongs to and the class name itself. Examples of full class names are System.Windows.Forms.Form
and Borland.Vcl.StdCtrls.TButton
.
Declaration
TestObj.ClrFullClassName
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 .NET and WPF application objects.
View Mode
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
Property Value
The string holding the full class name (including the namespace) of a desired object.
Remarks
To get the short class name (without the namespace), use the ClrClassName
property.
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.
The ClrFullClassName
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 property list of the given window
object.