getLinkText

This is a pre-built action in Avo Assure and is available for the Captured Link Element, instructs the Avo Assure to fetch the text of the captured link element and save result in the dynamic variable.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value:

Argument
Description

<Dynamic Variable> (Required)

Provide the variable that holds the text content of the link.

<Dynamic Variable>

(Optional)

This dynamic variable holds the status of the action as True or False.

Example

Fetches the visible text of a hyperlink from the specified web element

The getLinkText action retrieves the link text associated with the captured hyperlink element. This Action does not require any input value. The retrieved link text is stored in the {getlink} variable, while the execution status is stored in the {Status} variable, with the following possible values:

  • True – if the link text is successfully retrieved.

  • False – if retrieval fails or an error occurs.

Last updated

Was this helpful?