AppDomain Object Properties

Applies to TestComplete 15.47, last modified on January 20, 2023

The AppDomain object contains the following properties:

Property List   | View

Name Description
_NewEnum Returns an enumerator for the collection of children that belong to the object.
ChildCount Returns the number of child objects of the given object.
ClrAppDomain Returns an AppDomain object corresponding to the application domain that contains the given object.
ClrClassName Returns the short class name of an object.
ClrFullClassName Returns the full class name (including the namespace) of an object.
ClrVersion Returns the .NET runtime version of the domain.
dotNET Provides access to all .NET namespaces, classes and class members defined in .NET assemblies loaded into the domain.
Exists Tells you whether an object exists in the system.
FullName Specifies the full name that uniquely identifies the object in TestComplete.
Id Returns the object’s identifier.
MappedName Returns the custom name that is mapped to the original object name and is used to address the object in scripts.
Name Returns the object name.
NamedChild Returns a child object stored in the Name Mapping repository (by its index).
NamedChildCount Returns the number of child objects of an object stored in the Name Mapping repository.
NodeDescription Returns the description of an object stored in the Name Mapping repository.
Parent Returns the parent object of the given object.
Standard

This category includes properties that TestComplete applies to all test objects.

Name Description
_NewEnum Returns an enumerator for the collection of children that belong to the object.
ChildCount Returns the number of child objects of the given object.
Exists Tells you whether an object exists in the system.
FullName Specifies the full name that uniquely identifies the object in TestComplete.
Id Returns the object’s identifier.
MappedName Returns the custom name that is mapped to the original object name and is used to address the object in scripts.
Name Returns the object name.
Parent Returns the parent object of the given object.
.NET

This category includes properties that TestComplete provides for .NET objects.

Name Description
ClrAppDomain Returns an AppDomain object corresponding to the application domain that contains the given object.
ClrClassName Returns the short class name of an object.
ClrFullClassName Returns the full class name (including the namespace) of an object.
ClrVersion Returns the .NET runtime version of the domain.
dotNET Provides access to all .NET namespaces, classes and class members defined in .NET assemblies loaded into the domain.
<Name Mapping>

These properties are available only if the test object has been mapped (see Name Mapping). You can use them in your tests, but they are not displayed in the Object Browser panel.

Name Description
NamedChild Returns a child object stored in the Name Mapping repository (by its index).
NamedChildCount Returns the number of child objects of an object stored in the Name Mapping repository.
NodeDescription Returns the description of an object stored in the Name Mapping repository.
Other Categories

See Also

AppDomain Object

Highlight search results