launchapp2

Syntax

launchapp2 ('<application binary name>'[, '<application under test>' = None[, callAut = False]])

Calls appundertest for the user.

Implicit call to appundertest. Because: * This is usually what a user mean when he calls launchapp. * A newbie user could call appunder very far away from launchapp, and we don't know what could be the consequences of that. * Less typing.

Description

Application name specified as an argument will be launched.

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py

Example

from ldtp import *

launchapp2 ('file-roller')

launchapp ('file-roller', callAut = True)

launchapp2 ('gedit', 'gedit', callAut = True)

Author:
Sandro Millien <msp@lloedy.com>


Linux Desktop Testing Project