LDTP  3.5.0
 All Pages
activatewindow

Syntax

activatewindow([<window name>')

Description

Activate window based on the given name

Return values
Returns1 on success, LdtpExecutionError exception will be thrown on failure

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py

Note
Supported only on Linux

Example

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