ClickLink Action (Alert Controls)

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

The text of Bootstrap alerts can include links. Use the ClickLink action to click a specific link within the alert.

Declaration

TestObj.ClickLink(Link)

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

Applies To

The method is applied to the following objects:

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:

Link

The text or index of the link you want to click. The first link within the alert has the index 0, the second link - 1, the last link has the index wLinkCount-1.

Result Value

None.

See Also

wLinkCount Property (Alert Controls)
wLinkText Property (Alert Controls)

Highlight search results