Lesson 1: Set up HCL OneTest UI

IBM® provides a Java Runtime Environment (JRE) that is installed and enabled for testing Java applications. Use this JRE for the tutorial. When you want to test your own Java or HTML applications, you must run the enabler and configure your environments and applications. For more information on these set-up tasks, see the Getting Started with HCL OneTest UI wizard in the First Steps section of the product Welcome. For now you do not need to do anything to use the preconfigured JRE to continue.

About this task

Start HCL OneTest UI and then perform the following tasks before you record your first test script.

Set logging options

About this task

HCL OneTest UI provides several logging options. We will use the HTML log.

Procedure

  1. Click Windows > Open Perspective > Other to open the functional test perspective. In the Open Perspective dialog box, select the Functional Test option.
  2. To verify that HTML logging is set, click Window > Preferences.
  3. In the left pane of the Preferences window, expand Functional Test, then Playback, and click Logging.
  4. Select html as the Log type.
  5. Click OK.

Results

This setting opens the HTML log automatically after you play back a script.

Disable simplified scripting and application visuals feature

About this task

HCL OneTest UI provides you the option to generate simplified test scripts and Java test scripts. If you are familiar with Java scripting, you can disable the simplified scripting and application visuals feature and start recording the test script. In this tutorial, we will work with Java test scripts. Before you start recording the scripts, disable the simplified scripting and application visual features.

Procedure

  1. To verify whether the feature is enabled, click Window > Preferences.
  2. In the left pane of the Preferences window, expand Functional Test, then Simplified scripting.
  3. In the Simplified Scripting page, clear the Enable Simplified Scripting checkbox.
  4. In the Application Visuals page, clear all the options listed in the page for the application visuals.
  5. Click Apply and then OK.

Create a functional test project

About this task

Before you can start recording, you must create a functional test project.

Procedure

  1. In the HCL OneTest UI menu, click File > New > Functional Test Project.
  2. Under Project name, type FTtutorial (no spaces).
  3. Under Project location, type C:\FTproject.
    HCL OneTest UI creates this directory.
  4. Click Finish.

Results

The FTtutorial project is now visible in the Functional Test Projects view, which is the left pane in the Functional Test perspective.