Child Element Click with Offset
The act of clicking on an element based on that element's coordinates on the user interface
Platform
Web, Android, iOS, Windows, JavaSwing
Attribute
| Attribute | Data source | Recommended |
|---|---|---|
| Parent Element: is the parent element of the element to interact with | Variable: is usually the return result of the Find Element keyword | The system default is Elements |
| Locator: is the element that the keyword will interact with on the user interface | Value (frequently): The value does not change during testing Variable: Used when xpath changes according to the input data of the test scenario | The system recommends the default locator as Repository Element |
| Input: + xOffset + yOffset Are the x, y coordinates of the element on the interface | The system default is value | Integer |
Usecase
Used when there are many elements on the screen with the same xpath, the user needs to determine the location of the element through coordinates but only applies to child elements of parentElement.