Create Constant Variable
Last updated
Last updated
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.
Input: <Constant Variable >; <Value>
Output: <Dynamic Variable> (optional) ;< Dynamic Variable> (Optional)
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 Data
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.