Create Dynamic 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 dynamic variable and assign the value according to the input value.
Input: <variable name>; <value to be stored>
Note: The variable created should be within curly brackets.
Output: <Dynamic Variable> (optional) ;< Dynamic Variable> (Optional)
You are testing a user registration feature on a website where each new user needs to have a unique username. To automate this test, it generates a unique username for each test execution. This scenario allows testers to automate user registration without manually creating unique data each time. Ensure that the system accepts the dynamically generated username and creates a new user account.
Input Data Username: user Unique Number: (1234)
2. Expected Result
A dynamic variable is created named as {user}, with a unique value (e.g.1234).
Output: A dynamic variable is created with the user and the value is set to 1234, which can be utilized for registration system.