OCRTextBlock Object Methods

Applies to TestComplete 15.70, last modified on December 17, 2024

The OCRTextBlock object contains the following methods:

Method List

Name Description
Click Simulates a click of the left mouse button on the text block.
ClickM Simulates a click of the middle mouse button on the text block.
ClickNextTo Simulates a click of the left mouse button on the screen area that is at the specified distance and in the specified position relative to the text block.
ClickR Simulates a click of the right mouse button on the text block.
DblClick Simulates a double-click of the left mouse button on the text block.
DblClickM Simulates a double-click of the middle mouse button on the text block.
DblClickR Simulates a double-click of the right mouse button on the text block.
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 text block.
LongTouch Simulates a long touch on the text block.
SendKeys Sends a keystroke to the screen area that is at the specified distance and in the specified position relative to the text block.
Touch Simulates a touch on the text block.
TouchNextTo Simulates a touch on the screen area that is at the specified distance and in the specified position relative to the text block.

See Also

OCRTextBlock Object

Highlight search results