Child Element Get Text
The act of retrieving the text value of any element on the system interface under test
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 |
| Output: is the return result of the keyword | The system default is newVariable | The system default is String |
Usecase
Use when you need to get the text value of an element on the operation screen but only applies to child tags of parentElement
Often used when you need to get notifications, messes or the results of a previously performed action