LDTP  3.5.0
 All Pages
minimizewindow

Syntax

minimizewindow(['<window name>'])

Description

Minimize window based on the given name, default None. If None, will minimize 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

minimizewindow('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