Properties Added to Prompt Objects

Applies to TestComplete 15.10, last modified on December 15, 2021

The Prompt object contains the following properties:

Property List

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.
Enabled Specifies whether an object can accept user input or not.
Exists Tells you whether an object exists in the system.
FullName Specifies the full name that uniquely identifies the object in TestComplete.
Height Specifies the height of the object in pixels.
Id Returns the object’s identifier.
Left Specifies the horizontal position of the object’s left edge relative its parent window.
MappedName Returns the custom name that is mapped to the original object name and is used to address the object in scripts.
Message Text displayed in the dialog box.
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.
ObjectIdentifier Returns an object identifier that is used to name objects. It can be either a web element id, object text or index among other sibling objects of the same type.
ObjectType Returns a string that contains an element type that is used to name objects.
Parent Returns the parent object of the given object.
ScreenLeft Specifies the horizontal position of the object’s left edge in screen coordinates.
ScreenTop Specifies the vertical position of the object’s top edge in screen coordinates.
Top Specifies the vertical position of the object’s top edge relative to the object’s parent window.
Value Gets or sets the text displayed in the input field of the prompt box.
Visible Specifies whether the object is visible to users.
VisibleOnScreen Specifies whether any part of the object is currently visible on screen.
Width Specifies the width of the object in pixels.

See Also

Prompt Object
Methods Added to Prompt Objects

Highlight search results