verifyToolTipText
Last updated
Was this helpful?
Last updated
Was this helpful?
The verifyToolTipText action in the Avo Assure is found under the @Custom Element Name. It instructs the Avo Assure Client to verify the tooltip text present on the objects specified in the input value and save the result (True/False) in the given output variable.
Input: <ObjectType>;<VisibleText(optional)>;<Index>;<value>;<abs(optional)>
Note: The user needs to provide the type of object, its visible text of the element (if needed), its element index, its value to be verified with the element, and the abs (absolute).
Output: <Dynamic Variable>;<Dynamic Variable>(optional)
User is verifying the tooltip functionality on an e-commerce application. On the product page, hovering over the “Add to Cart” button displays a tooltip with the text as “Add to Shopping Cart”. Using the “verifyTooltipText” action, the user specifies the “Add to Cart” button as the target element. The Avo Assure hovers over the button, retrieves the tooltip text and compares it with the expected value
button;;0;Add to Shopping Cart
The verifyToolTipText action should verify the tooltip text present on the Add to cart button and store True in Output variable.
The result of the verifyToolTipText action verifies the tooltip text present on the Add to cart button and stores in the {result} output variable as “True”, which can be utilized for display or other purposes.