Web List Box Methods

Applies to TestComplete 15.69, last modified on November 13, 2024

Method List   | View

Standard

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

Name Description
Child Returns a child object by its index.
Find Returns a child object by the specified values of its properties.
FindAll Returns an array of child objects that have the specified property values.
FindAllChildren Returns an array of child objects by the specified property values.
FindChild Returns a child object by the specified property values.
FindChildEx Searches for a child object that has the specified property values during the specified timeout period.
FindEx Searches for a child object that has the specified property values during the specified timeout period.
FindId Returns a child object by its identifier.
Picture Captures the image of the specified rectangular area of the object.
ScreenToWindow Converts screen coordinates to coordinates relative to the object.
Validate Obsolete. Generates the OnValidate event for the object.
WaitChild Delays the script execution until the specified child object appears in the child list or the specified time limit is reached.
WaitProperty Delays the script execution until the specified property equals the specified value, or until the specified time limit is reached.
WindowToScreen Converts coordinates relative to the object to screen coordinates.
Actions

This category includes methods that simulate user actions on the tested controls.

Name Description
Click Simulates a click of the left mouse button over the object.
ClickItem Selects an item, specified by an index, from 0, or a caption.
ClickItemR Simulates a right-click on the specified item.
ClickItemRXY Simulates a click of the right mouse button at the point (X, Y) within a list box item.
ClickItemXY Simulates a single click at position (X, Y) in item-relative coordinates.
ClickM Simulates a click of the middle mouse button over the object.
ClickR Simulates a click of the right mouse button over the object.
DblClick Simulates a double-click of the left mouse button over the object.
DblClickItem Moves the mouse cursor to item and then simulates a double click on it.
DblClickItemR Simulates a double right-click on the specified item.
DblClickItemRXY Simulates a double-click of the right mouse button at the point (X, Y) within a list box item.
DblClickItemXY Simulates a double-click at the point (X, Y) within a list box item.
DblClickM Simulates a double-click of the middle mouse button over the object.
DblClickR Simulates a double-click of the right mouse button over the object.
Drag Simulates a dragging event performed with the left mouse button.
DragM Simulates a dragging event performed with the middle mouse button.
DragR Simulates a dragging event performed with the right mouse button.
HoverMouse Simulates moving the mouse pointer to the specified position within an object.
Keys Sends a keystroke to an object.
MouseWheel Simulates rotation of the mouse wheel over an object.
MultiSelect Selects several items.
SelectItem Selects or unselects the specified list box item.
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