IBM Support

Batch sample scripts to enable a configured browser, Java environment or Eclipse platform from the command line

Question & Answer


Question

Is there an example batch sample script you can use to invoke IBM Rational Functional Tester to enable a configured browser, Java environment or Eclipse platform from command line?

Answer

Enabling a configured browser, Java environment or Eclipse platform can be invoked through a batch sample script from the Rational Functional Tester command line interface.

Here is an example that will Enable a configured browser, Java environment or Eclipse platform on a Windows system.


Enable a configured browser, Java environment, or Eclipse platform:

Command line format

java -classpath <classpath> com.rational.test.ft.rational_ft -enableName <browser/Java environment/Eclipse>

Sample script to enable IBM Rational SDP JRE

java -classpath "c:\program files\ibm\sdp70\functionaltester\bin\rational_ft.jar" com.rational.test.ft.rational_ft -enableName "IBM Rational SDP JRE"



Sample script to enable Microsoft Internet Explorer

java -classpath "c:\program files\ibm\sdp70\functionaltester\bin\rational_ft.jar" com.rational.test.ft.rational_ft -enableName "Internet Explorer"

Sample script to enable eclipse

java -classpath "c:\program files\ibm\sdp70\functionaltester\bin\rational_ft.jar" com.rational.test.ft.rational_ft -enableName "EclipseEnabler"


This technote provides another example to 1405563: Invoking the Rational Functional Tester Configure menu items from a command line.

[{"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;8.1.1;8.1.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2018

UID

swg21320629