com.appperfect.apptest.script
Interface IApplicationGroup

All Known Subinterfaces:
IJavaApplicationGroup

public interface IApplicationGroup

ApplicationGroup is created to represent task group executing a windows or java application IApplicationGroup object is created using IApplicationGroup addActionGroup(String groupName, byte applicationType, boolean ignore); API of IWindowsTest


Field Summary
static byte APPLICATION_JAVA
 Constant used to specify if Group is a Java application group.
static byte APPLICATION_WINDOWS
 Constant used to specify if Group is a Windows application group.
 
Method Summary
 void addSystemProperty(java.lang.String name, java.lang.String value)
 This method is used to set the system environment for the windows or java application.
 void setApplicationArguments(java.lang.String args)
 This method is used to set the application's command line arguments for the windows or java application.
 void setExecutablePath(java.lang.String path)
 This method is used to set the executable path for the windows or java application.
 void setLaunchNewWindow(boolean bLaunch)
 This method is used to decide whether the application should be launched automatically.
 void setRepeatCount(int rptCount)
 This method is used to set repeat count for group within single iteration.
 void setWorkingFolder(java.lang.String workingFolder)
 This method is used to set the working folder for the windows or java application.
 

Field Detail

APPLICATION_JAVA

static final byte APPLICATION_JAVA
Constant used to specify if Group is a Java application group. Used to define applicationType while creating action group using IApplicationGroup addActionGroup(String groupName, byte applicationType, boolean ignore); api of IWindowsTest

See Also:
Constant Field Values

APPLICATION_WINDOWS

static final byte APPLICATION_WINDOWS
Constant used to specify if Group is a Windows application group. Used to define applicationType while creating action group using IApplicationGroup addActionGroup(String groupName, byte applicationType, boolean ignore); api of IWindowsTest

See Also:
Constant Field Values
Method Detail

addSystemProperty

void addSystemProperty(java.lang.String name,
                       java.lang.String value)
This method is used to set the system environment for the windows or java application.

Parameters:
name - is the name of system environment variable
value - is the value of system environment variable

setApplicationArguments

void setApplicationArguments(java.lang.String args)
This method is used to set the application's command line arguments for the windows or java application.

Parameters:
args - is the application's command line arguments for the windows or java application to test

setExecutablePath

void setExecutablePath(java.lang.String path)
This method is used to set the executable path for the windows or java application.

Parameters:
path - is the executable path for the windows or java application to test

setLaunchNewWindow

void setLaunchNewWindow(boolean bLaunch)
This method is used to decide whether the application should be launched automatically.

Parameters:
bLaunch - could be either true or false, depending on whether to launch the application automatically or not.

setRepeatCount

void setRepeatCount(int rptCount)
This method is used to set repeat count for group within single iteration. By default group is executed once during single iteration. If one needs to execute group multiple times during single iteration then same should be set here.

Parameters:
rptCount - number of times group should repeat execution during single iteration.

setWorkingFolder

void setWorkingFolder(java.lang.String workingFolder)
This method is used to set the working folder for the windows or java application.

Parameters:
workingFolder - is the working folder from where the windows or java application should be launched


Copyright © 2003-2011 AppPerfect Corporation. All Rights Reserved.