LDTP  3.5.0
 All Pages
appundertest

Syntax

appundertest('<accessibility application name>')

Description

First try to find the window under the given application name, if not found then try to find it from the global list.

Return values
1on success, 0 on failure

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

Note
Linux only feature

Example

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

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project