Android DDDriverCommands::WaitForGUI
Wait for a Window or Window Component to become valid.
Fields: [ ]=
Optional with Default Value
-
WindowID
A Window reference from the AppMap
-
ComponentID
A reference from the AppMap for the Component within the Window to wait for.
A reference from the AppMap for the Component within the Window to wait for.
If the Window is the item of interest then both the WindowID and
ComponentID will be the same.
- [ Timeout = 15 ]
Timeout value in seconds before exiting automatically.
Examples:
-
C, WaitForGUI, AWindow, AWindow
Waits up to 30 seconds for AWindow to become valid.
-
C, WaitForGUI, AWindow, AWindow, 10
Waits up to 10 seconds for AWindow to become valid.
-
C, WaitForGUI, AWindow, AComponent, 10
Waits up to 10 seconds for AComponent within AWindow to become valid.
[How To Read This Reference]