Get Link Text

This is pre-built action in Avo Assure which is Located under the @Custom element. It instructs the Avo Assure Client to fetch the link's text specified in the input value and saves the result in the output variable.

Syntax:

Input: <Object Type>;<Visible text>(optional);<index>;<abs(Optional)>

Output: <Dynamic Variable>(optional);< Dynamic Variable> (Optional)

Use case/example:

Consider a scenario where a user is testing an E commerce application where user wants to fetch the text from the link. For this scenario, the Get Link Text action is used by Avo Assure. It helps to fetch the link text from the About us link from this action.

Input

About us;;0.

Expected Result

The Get Link Text action needs to retrieve the text of the link element and store the text in the {Text} output variable. The status of the action should be stored in the {Result} output variable.

Output

The Get Link Text action performed on provided link in input values and stores text in {Text} variable and saves the status in the {Result} output variables as True.

Last updated

Was this helpful?