Web List Box Properties

Applies to TestComplete 15.45, last modified on December 01, 2022

Property List   | View

Standard

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

Name Description
ChildCount Returns the number of child objects of the given object.
ControlId Specifies the control identifier of the window.
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.
Index Specifies the front-to-back position of the control among other controls that have the same class name and caption, and belong to the same parent window.
Left Specifies the horizontal position of the object’s left edge relative its parent window.
Name Returns the object’s name.
NativeChromeObject Provides access to methods and properties of web page elements displayed in Google Chrome.
NativeFirefoxObject Provides access to methods and properties of web page elements displayed in Mozilla Firefox.
NativeWebObject Provides access to methods and properties of web page elements displayed in Internet Explorer, Edge or in a WebBrowser control.
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.
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.
Extended

This category includes properties that extend test functionality for the Web List Box objects.

Name Description
contentText Returns the combined text contents of the object and its child objects.
idStr Returns a string that contains the value of the element’s ID attribute.
namePropStr Returns a string that contains the value of the element’s nameProp property.
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.
wFocus Returns the index of the focused item.
wItem Returns the caption of the item specified by its index.
wItemBounds Returns the bounds of the list box item specified by the caption or index.
wItemCount Returns the total number of items in the list box control.
wItemList Returns a string that holds item captions separated by the wListSeparator property value.
wListSeparator A string containing a collection of characters used as a separator between item captions.
wSelected Checks whether the specified item is selected.
wSelectedItems Returns a string that holds the captions of the selected items separated by the wListSeparator property value.
Other Categories

TestComplete provides access to internal properties and methods of tested web objects. You can view these properties and methods in the Internet Explorer, Firefox, Chrome and other categories (which categories are available depends on the type of the web browser where your tested web application is running). The TestComplete help file does not include a description of these methods and properties. For information on them, please see the DOM model description and the HTML standards for the web browser you use.

See Also

Web List Box Support

Highlight search results