Verify Button Name
Last updated
Was this helpful?
Last updated
Was this helpful?
Verify Button Name action in the Avo Assure is found under the Captured Button Element. This action is used to check the specific name of the button, ensuring it matches the expected value and save the status (True/False) in the given output variable.
Input: <Input Text>
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
When testing a shopping application, it's crucial to verify that the "Add To Cart" button on the product page displays the correct text. This ensures you are properly guided through the purchase process. Using Avo Assure, check that the button text is exactly "Add To Cart" to confirm the correct button name is shown.
Provide the correct button name in the input value as:
“Add To Cart”
It should verify the name of the button as “Add To Cart” and store the result in output variable as True.
The result of Verify Button Name action is stored in the {result} output variable as “True”, which can be utilized for display or other purposes.