Child Element Select by Visible Text
The action of selecting a value from a Dropdown/ComboBox using visible text (displayed value).
Platforms
Web, Android, iOS, Windows, JavaSwing
Attributes
| Attribute | Data Source | Recommendation |
|---|---|---|
| Parent Element: The parent element of the element to interact with | Variable: Usually the result returned by the Find Element keyword | The system defaults to Elements |
| Locator: The element that the keyword will interact with on the user interface | Value (thường dùng): A value that does not change during testing Variable: Used when XPath changes based on input data in the test script | The system recommends the default locator as Repository Element |
| Value: The value to be passed into the element | Value: A value that does not change during testing Variable (commonly used): A parameter used for data-driven testing Parameter: Used when the input data in the test script changes according to environment (Environment parameter), device (Device parameter), version (Version parameter), agent (Agent paramter) | The system defaults to String |
Use Cases
Used when interacting with a ComboBox or dropdown containing a Select and selecting a value using visible text (displayed value in the list), but only applicable to child elements of the parentElement