waittillguiexist ('<window name>')
If the given window name exist, this function returns 1. If window doesnot exist, then this function returns 0. Difference between guiexist and waitguiexist is, waitguiexist waits for maximum 30 seconds. Still the window doesn't appear, then 0 is returned. We can set the environment variable 'GUI_TIMEOUT' to change the default waiting time.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/client-handler.c
- Todo:
- Return values:
-
| 1 | on success, 0 otherwise |
waittillguiexist ('dlgOpen')
This function will be useful, when some event is fired and after that if a new window is expected, we can use this function to wait for window to appear.
- Author:
- Nagappan <nagappan@gmail.com>
Linux Desktop Testing Project