Child Element Clear and Send Keys
The act of deleting the existing content of an input field and sending a new string instead
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 |
| Value: The value to be passed to the element | Value: The value does not change during testing Variable (frequently): is a parameter when performing data driven testing Parameter: used when checking the data transmission test Change according to the environment (Environment parameter), Device(Device parameter), Version (Version parameter), agent (Agent paramter) | The system default is String |
Usecase
Used when the user needs to enter data for an input text tag, textarea... which is a child tag of the previously determined parentElement.
If the data source is a variable and the name has not been declared in the test script, the system automatically creates a parameter that matches the name of the variable.