LDTP  3.5.0
 All Pages
maximizewindow

Syntax

maximizewindow(['<window name>'])

Description

Maximize window based on the given name, default None. If None, will maximize all window one by one

Return values
Returns1 on success, LdtpExecutionError exception will be thrown 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/Core.cs

Example

maximizewindow('Mozilla Firefox')

Dependency

wnck, pygtk python library

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com
Arvind Patil apati.nosp@m.l@vm.nosp@m.ware..nosp@m.com


Linux Desktop Testing Project