LDTP  3.5.0
 All Pages
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: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/core.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Generic.cs

Example

from ldtp import *

getwindowlist()

Author
Premkumar J prem..nosp@m.joth.nosp@m.imani.nosp@m.@gma.nosp@m.il.co.nosp@m.m


Linux Desktop Testing Project