IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft
Class rational_ft

java.lang.Object   extended by com.rational.test.ft.rational_ft

public class rational_ft
extends java.lang.Object

Command-line interface for Functional Test. From the command line you can perform the following tasks:

Command Line Usage:

The beginning of the rational_ft command line can come in one of two primary forms. In the text below we refer to either of these beginnings as <rational_ft>. Note that you should use the first version of the command line if you use PurifyPlus.

For commands that take a <script-name>, the name can be a simple identifier, or it can use Java package syntax. For example:

For the commands where options can be specified, available options are:

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:

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

Since:
RFT1.0

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

rational_ft

public rational_ft()
Method Detail

main

public static void main(java.lang.String[] args)
Entry point for the Java application. The command line now runs as an eclipse application. So we need to: 1) Find the eclipse directory and the startup jar inside it. 2) Put the startup.jar into a classloader and load the startup passing it a

Since:
RFT1.0

main

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. For instance the rational_ft main can use this methods as well as the Hyades test suite run support. The general idea is that the classpath for RFT is generally incomplete and this code resolves those issues and allows users to focus on the classes that scripts use and not the JARs/DLLs needed by RFT.


debug

protected static void debug(java.lang.String message)

debug

protected static void debug(java.lang.String message,                             int severity)