LDTP
3.5.0
|
appundertest('<accessibility application name>')
First try to find the window under the given application name, if not found then try to find it from the global list.
1 | on success, 0 on failure |
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtp/__init__.py
appundertest('gedit')
If two window's having gedit title and only one window belongs to gedit application, even though, its first in the accessibility list, based on the above call, any operation on '*gedit' window operation, the event will be fired on gedit application only. http://lists.freedesktop.org/archives/ldtp-dev/2009-February/000764.html