getwindowlist ()
Gets all the window name, that are currently used. If none of the windows are accessed and if this function is the first call means, then LdtpExecutionError will be thrown.
- Todo:
- Return values:
-
| list | of window names will be returned on success, LdtpExecutionError exception on failure |
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/client-handler.c
from ldtp import *
guiexist ('*-gedit')
click ('*-gedit', 'btnFind')
guiexist ('dlgFind')
getwindowlist () # Will return the gedit window, Find window, etc as list
- Author:
- Premkumar J <prem.jothimani@gmail.com>
Linux Desktop Testing Project