This command will click an element. Although Appium provides a native click method, the SeeTest Client extends the click command by allowing you to specify how many clicks to perform. In addition, this command has the ability to click on elements based on OCR (optical character recognition).
This command will click an element. Although Appium provides a native click method, the SeeTest Client extends the click command by allowing you to specify how many clicks to perform. |
Name | Value | Description |
---|---|---|
zone | string | Zone - Native, Web, Text (OCR) |
elemen | string | xpath of the element to find. In case of Text (OCR), the element's text |
index | int | index of the element to find, if more than one element answers to the xpath query |
clickCount | int | Number of clicks to perform |
If your app includes a feature where an element or button need to be clicked more than once, you can use this command. You can also use this command to click on element that does not have a defined XPath and can only be recognized based text that appears in their image.