LDTP  2.3.1
getwindowlist

Syntax

getwindowlist()

Description

Gets all the window name, that are currently opened. If none of the windows are opened, then LdtpExecutionError will be thrown.

Return values:
listof window names will be returned on success, LdtpExecutionError exception on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/client-handler.c

Example

from ldtp import *

getwindowlist()

Author:
Premkumar J <prem.jothimani@gmail.com>