wLinkCount Property (Alert Controls)

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

Description

The text of a Bootstrap alert can include links. The wLinkCount property returns the total number of links in the alert text. To get the text of a specific link, use the wLinkText property.

Declaration

TestObj.wLinkCount

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

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.

Property Value

The total number of links in the alert text.

See Also

wLinkText Property (Alert Controls)
ClickLink Action (Alert Controls)

Highlight search results