Child Element Wait Element
The action of waiting for an element to appear on the screen within a specified time frame.
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 (commonly used): 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 |
| timeout (ms): The time the system waits until the element disappears, measured in milliseconds | Value (commonly used): A value that does not change during testing Variable: A parameter used for data-driven testing Parameter: Used when input data in the test script changes according to the environment (Environment parameter), device (Device parameter) | Long |
Use Cases
Used when needing to wait for an element to appear on the active screen, but only applicable to child elements of the parentElement.