wLinkText Property (Alert Controls)

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

Description

The text of Bootstrap alerts can include links. Use the wLinkText property to get the text of a specific link within the alert.

Declaration

TestObj.wLinkText(Index)

Read-Only Property String
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    

Applies To

The property is applied to the following objects:

View Mode

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

Parameters

The property has the following parameter:

Index

The index of the link whose text you want to get. The first link in the alert has the index 0, the second link - 1, the last link has the index wLinkCount-1.

Property Value

The text of the specified link.

See Also

wLinkCount Property (Alert Controls)
ClickLink Action (Alert Controls)

Highlight search results