ClickLink Action (SysLink Controls)

Applies to TestComplete 14.70, last modified on April 22, 2021

Description

Use the ClickLink action to simulate a left mouse button click over a specified link .

Declaration

TestObj.ClickLink(Index)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [in]    Required    Integer    
Result None

Applies To

The method is applied to the following object:

View Mode

This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Parameters

The method has the following parameter:

Index

The index of the desired link. The index is zero-based: the first link has index 0, the second - 1 and so on. Index of the last link is LinkCount - 1.

Result Value

None.

Example

To view an example that demonstrates how to use the ClickLink action, see Clicking a Link in SysLink Controls.

See Also

Clicking a Link in SysLink Controls
Link Property (SysLink Controls)
LinkCount Property (SysLink Controls)
wText Property (SysLink Controls)
Click Action (SysLinkItem Objects)

Highlight search results