How do I remove the Simplified Scripting component from existing scripts in IBM Rational Functional Tester?
Simplified Scripting mode is enabled by default in IBM Rational Functional Tester 8.1 and above. You may want to disable this functionality for reasons such as
- You want to maximize performance. Simplified Scripting is much more resource intensive than Java or .NET scripting, especially during recording. Depending upon your hardware resources and your application under test, using simplified scripting mode may lead to long pauses during recording.
- You want to do advanced editing of your scripts using Java or Rational Functional Tester APIs without relying on the Insert Java Code snippet and Insert Java method features of Simplified Scripting mode.
- You are upgrading from a pre-8.1 release of Rational Functional Tester and want to work in the same Java perspective that you are familiar with from previous versions.
Simplified Scripting mode can be toggled on and off at the setting shown below.
Window > Preferences > Functional Test > Simplified Scripting > Enable Simplified Scripting
However, the Enable Simplified Scripting preference only affects newly created scripts. Existing scripts that were created with Simplified Scripting mode enabled will still have the Simplified Scripting view and functionality, as denoted by the blue script icon and also by the Script/Java tabs in the script editor.
This technote describes how to convert existing scripts created using Simplified Scripting mode into standard Rational Functional Tester Java scripts.
Follow the steps below to permanently remove the Simplified Scripting component from existing scripts in a Rational Functional Tester project.
This is a one-way process. It is not possible to convert a standard Java Scripting script into a Simplified Scripting mode script.
- Right-click your project and choose Properties.
- Make note of the Location, then click OK to close the Properties window.
- Right-click your project and choose Disconnect Project.
- In Windows Explorer, navigate to the project folder (the Location you made note of in step 2). Delete *.rftss.
- In Functional Tester, click File > Connect to a Functional Test Project.
- Click Browse and navigate to the project folder (the Location you made note of in step 2. Click OK and then click Finish.
- Verify that your scripts no longer have the Simplified Scripting view and functionality, as denoted by the yellow script icon, and by the lack of Script/Java tabs at the bottom of the script editor.
For more information in the Simplified Scripting feature, see Working with Simplified Scripting in the IBM Rational Functional Tester documentation.
BACKING UP FILES:
Always make new database back-ups of your schema repository and users databases prior to making schema changes and performing database upgrades. Failure to create back-up copies can limit your ability to recover from a an upgrade failure, design change issues or other unforeseen failures.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.