Click on Element
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Custom Element Name. It instructs the Avo Assure Client to perform click operation on the Element which is specified in Input Value.
Input: <ObjectType>;<VisibleText(Optional)>;<index>;<abs(optional)>
For above syntax user needs to give specific Object type, visible text of the object (optional) along with element index of the object and abs.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
A user needs to log into an e-commerce website and add a product to their shopping cart. The Avo Assure tool should verify that after clicking the "Add to Cart" button, the product appears in the shopping cart.
button;Add to Cart;1
When the "Add to Cart" button is clicked, the product should be added to the shopping cart
The "click on element" Action works successfully to simulate the user action of clicking the "Add to Cart" button.