LDTP  2.3.1
activatewindow

Syntax

activatewindow(['<window name>'])

Description

Activate window based on the given name, default None. If None, will activate all window one by one

Return values:
NoneRefer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py

Example

activatewindow('Mozilla Firefox')

Dependency

wnck, pygtk python library

Author:
Nagappan Alagappan <nagappan@gmail.com>
Arvind Patil <apatil@vmware.com>