Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

getwindowlist

Syntax

getwindowlist ()

Description

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.

Implementation

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

Example

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>

Generated by  Doxygen 1.6.0   Back to index