Set Text

This is a pre-built action in the Avo Assure that comes for the textbox captured element. This action instructs Avo Assure Client to set text in textbox and store the status (True or false) in the given output variable.

Syntax

Input: <input value>

Note: Input value given in text formats.

Supported formats:

  1. Text

  2. Static variables

  3. Dynamic variables

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

Use case/Example

Scenario: Set Text in the Email Field within web application

Consider a scenario where you are testing a web application. You need to verify that the Username textbox correctly accepts text as input. The Set Text action is used in automation testing to enter desired text into a textbox in an application. In this scenario, you use the Set Text action to set a valid email address into the "Email" input field in the application. This is helpful for automating tasks like login functionality.

Input

In this example, Input Text is user Email id: [email protected]

Expected Result

It should set email id as [email protected] in textbox and stores status in {Result} output variable.

Output

The set text action is set email id in textbox. The output variable {Result} contains result of action as True, which can be utilized for Login application.

Last updated

Was this helpful?