|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.rational_ft
public class rational_ft
Command-line interface for Functional Test. From the command line you can perform the following tasks:
-datastore <directory> [-map <sharedmap>] [options] -record <script-name>
-datastore <directory> [-insertbefore <line>] [-insertafter <line>] [-map <sharedmap>] [options] -record <script-name>
-datastore <directory> [options] -compile <script-name>
-datastore <directory> -log <logname> [options] -playback <script-name> [-args <values>]
-datastore <directory> -iterationCount <count|ALL> [options] -playback <script-name>
-datastore <directory> -projectpath <reference-project-path> -playback <script-name>
-datastore <directory> [options] -record <scriptname> -compile -playback [-args <values>]
-datastore <directory> -map <sharedmapname> [options] -create <scriptname>
-datastore <directory> [options] -helper <scriptname>
-datastore <directory> [options] -regenHelpers
-datastore <directory> [options] -display <file>
-datastore <directory> [options] -edit <file>
-datastore <directory> -fromMap <existingmap> [options] -createMap <mapfile>
-datastore <directory> [options] -from <sourcemapname> -to <targetmapname> [-original <commonmapname>] -mergeMap
-datastore <directory> [options] -baseline <vpname> -compare <expectedfile> <actualfile>
-enable [enabler-arg]
enabler-arg
can be: ALL
searches all drives and enable all found browsers, Java environments, and Eclipse platforms<dir>
enables the browser, Java environment, or Eclipse platform in the given directory(empty)
runs the enabler interactively -enableName [configured-name]
configured-name
is the logical name of the browser or Java environment configured by the Enabler that will be enabled -disableall
-appConfig [config-arg]
config-arg
can be the logical name of an app to center on -inspector
-writeconfig [executable-including-path]
executable-including-path is the fully qualified path to the executable
For commands that take a <script-name>, the name can be a simple identifier, or it can use Java package syntax. For example:
-datastore . -record test1
-datastore . -record subdir.test2
For the commands where options can be specified, available options are:
-<option-name> <value>
set the option to the value-reset <option-name>
reset the option to its default value-resetall
reset all options to their respective default values-args <values>
command-line arguments to be passed to the playback script-datapool <datastore-relative-name>
sets the shared datapool name-helpersuper <helper-class-name>
the helper superclass name to be used when generating the helper file-iterationCount <intteger|ALL>
the number of times the script will be iterate over the associated datapool. For example, -rt.log_format none
specifies that no log gets displayed. Supported options and their values are listed in
IOptionName
.
To run Functional Test unattended in batch mode with a TestManager log, you need to
include the following options on the rational_ft command line:
-user <username>
the TestManager user name for login -password <password>
the TestManager password for login. (Optional)
-project <fullpath and full projectname>
the name of the TestManager project, which is preceeded by its pull path. This is case sensitive.
-build <build>
the name of an existing TestManager build.
-logfolder <foldername>
the name of an existing TestManager log folder.
-log <logname>
the name of the TestManager log.
Example:
java -classpath C:\IBM\RFT\FunctionalTester\bin\rational_ft.jar com.rational.test.ft.rational_ft -datastore e:\myProject -playback script.Test -user swalton -password swordfish -project e:\RationalProjects\myProject.rsp -build "build 1" -logfolder default -log myLog
or
java -jar C:\IBM\RFT\FunctionalTester\bin\rational_ft.jar -datastore e:\myProject -playback script.Test -user swalton -password swordfish -project e:\RationalProjects\myProject.rsp -build "build 1" -logfolder default -log myLog
Nested Class Summary | |
---|---|
protected static class |
rational_ft.Debug
|
Constructor Summary | |
---|---|
rational_ft()
|
Method Summary | |
---|---|
protected static void |
debug(java.lang.String message)
|
protected static void |
debug(java.lang.String message, int severity)
|
static void |
main(java.lang.String[] args)
Entry point for the Java application. |
protected static void |
main(java.lang.String[] args, java.lang.String eclipseApplicationName)
This method allows for multiple entry points to RFT with different command processing needs but similar class loading setup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public rational_ft()
Method Detail |
---|
public static void main(java.lang.String[] args)
protected static void main(java.lang.String[] args, java.lang.String eclipseApplicationName)
protected static void debug(java.lang.String message)
protected static void debug(java.lang.String message, int severity)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |