IBM Support

How to enable Application Under Test without using the ‘Configure Application for testing’ wizard in Rational Function Tester

Question & Answer


Question

How do you enable the Application Under Test (AUT) for testing without using the ‘Configure Application for testing’ wizard in IBM Rational Function Tester (RFT)?

Cause

This is required when a different process is called form within the AUT.

Answer

Insert the following command within the script

getRootTestObject().enableForTesting("Process name”);<\code>

Example:
<\code>getRootTestObject().enableForTesting("EXCEL.EXE”);<\code>

[{"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Scripting","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.2.2.1;8.2.2;8.2.1.1;8.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21618780