Create Constant Variable
This is a pre-built action in Avo Assure and comes under @Generic element. This action instructs Avo Assure Client to create a constant variable and assign the value provided in input value.
Syntax
Input: <Constant Variable >; <Value>
Output: <Dynamic Variable> (optional) ;< Dynamic Variable> (Optional)

Use case/Example

Scenario: Testing Login Functionality with Constant Credentials
Suppose you are testing a login feature for a web application where the username and password are fixed for a specific test user account. It ensures that the credentials remain consistent throughout multiple steps of the test. It verifies that the login process works correctly with the predefined credentials.
Input
Username: Testuser
Expected Result
A constant variable should be created with the username set to the value Testuser.
Output
The constant variable contains the username with the value Testuser and it is used for login application.
Last updated
Was this helpful?