IBM Support

How to copy the RFT configured applications list to additional machines

Question & Answer


Question

How do you transfer the information entered in the IBM Rational Functional Tester (RFT) Application Configuration Tool to playback agent machines?

Cause

IBM Rational Functional Tester scripts contain startApp API calls to launch your application under test at runtime.


For example:

startApp("IBM.com");


At runtime, the startApp command matches the String passed to it to the corresponding entry in the Application Configuration Tool on the local playback machine.



If no matching entry is found, an Exception is thrown and playback will fail.

com.rational.test.ft.script.RunException: CRFCN0630E: Cannot find application [IBM] in the configuration file.

In order to avoid this exception, you must configure your applications for testing on the playback machine before you attempt to play back your scripts.


To launch the Application Configuration Tool, click Configure > Configure Applications for Testing. Alternately (or if you do not have a scripting environment installed), use the command line interface as described in technote 1405563: Invoking the Rational Functional Tester Configure menu items from a command line.

If you have multiple applications to test, manually entering the application information in the Application Configuration Tool can be time consuming. This technote describes how to copy the application configuration information between machines, therefore avoiding the need to manually enter this information.

Answer

The information entered in the Application Configuration Tool is stored in an XML file:
%ALLUSERSPROFILE%\Application Data\IBM\RFT\configuration\configurations.rftcfg

To transfer your configured applications list between machines:

  1. Open the configurations.rftcfg file in a text editor.

  2. Copy the information (highlighted below in green) contained within these tags (highlighted below in yellow):

    <ApplicationList L=".ApplicationList">
    </ApplicationList>



  3. Paste this information in the same location on your additional machines.

  4. Save changes and re-launch IBM Rational Functional Tester.

You will now see the updated information in Configure > Configure Applications for Testing.

[{"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Test Environments","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.1;7.0.1.1;7.0.1.2;7.0.1.3;8.0;8.0.0.1;8.0.0.2;8.0.0.3;8.1;8.1.0.1;8.1.0.2;8.1.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 June 2018

UID

swg21414440