com.appperfect.apptest.script
Interface IJavaApplicationGroup

All Superinterfaces:
IApplicationGroup

public interface IJavaApplicationGroup
extends IApplicationGroup

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


Field Summary
 
Fields inherited from interface com.appperfect.apptest.script.IApplicationGroup
APPLICATION_JAVA, APPLICATION_WINDOWS
 
Method Summary
 void addClassPath(java.lang.String cpEntry)
 This method is used to add the classpath for the java application.
 void addLibraryPath(java.lang.String lpEntry)
 This method is used to add the library path for the java application if any.
 void setMainClass(java.lang.String mainClass)
 This method is used to set the main class for the java application.
 void setMainClassArguments(java.lang.String args)
 This method is used to set the main class command line arguments for the java application if any.
 void setRepeatCount(int rptCount)
 This method is used to set repeat count for group within single iteration.
 
Methods inherited from interface com.appperfect.apptest.script.IApplicationGroup
addSystemProperty, setApplicationArguments, setExecutablePath, setLaunchNewWindow, setWorkingFolder
 

Method Detail

addClassPath

void addClassPath(java.lang.String cpEntry)
This method is used to add the classpath for the java application.

Parameters:
cpEntry - represents classpath for the java application to test

addLibraryPath

void addLibraryPath(java.lang.String lpEntry)
This method is used to add the library path for the java application if any.

Parameters:
lpEntry - represents library path if any for the java application to test

setMainClass

void setMainClass(java.lang.String mainClass)
This method is used to set the main class for the java application.

Parameters:
mainClass - is the main class for the java application to test

setMainClassArguments

void setMainClassArguments(java.lang.String args)
This method is used to set the main class command line arguments for the java application if any.

Parameters:
args - is the main class arguments if any for the java application to test

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.

Specified by:
setRepeatCount in interface IApplicationGroup
Parameters:
rptCount - number of times group should repeat execution during single iteration.


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