HCL OneTest UI Projects view

The Functional Test Projects view, which is the left pane of the Functional Test Perspective, lists test assets for each project.

The following icons appear in the Projects view pane:

Folders Folders

Simplified test scripts Simplified test scripts

Java test scripts Java test scripts

Shared test object maps Shared test object maps

Log folders Log folders

Logs Logs

Java file Java™ file

The Functional Test Projects view banner has the following buttons:

The Connect to a Functional Test Project Connect to a Functional Test Project button button allows you to connect to an existing Functional Test project.

The Refresh Projects button Refresh Projects button enables you to repaint the display to reflect changes.

The Synchronize with Editor button Synchronize with Editor button scrolls in the tree hierarchy to the name of the script currently displayed in the Java Editor.

Double-clicking a script in the Projects view opens the script in the Java Editor.

Note: If there are no projects in the Projects view, instructions display informing you how to create a new Functional Test project or connect to an existing Functional Test project. If you do not select any item in the Projects view, and right-click in the Projects view, a menu is displayed, from which you can create a new Functional Test project, connect to an existing Functional Test project, or refresh the project(s).

Right-clicking on a project or test asset listed in the Projects view displays various menu options, which are listed here in alphabetical order:

Add Empty Script -- Displays the Create an empty Functional Test script dialog box, which enables you to create a script you can use to manually add Java code.

Add Script Using Recorder -- Displays the Record a Functional Test script dialog box, which enables you to enter information about the new script and start recording.

Add Test Folder -- Displays the Create a Test Folder dialog box, which enables you to create a new Functional Test folder for the project or under an existing folder.

Add Test Object Map -- Displays the Create a Test Object Map dialog box, which enables you to add a new test object map to a project.

Add Test Datapool -- Displays the Create a Test Datapool dialog box, which enables you to create a new test datapool.

Clear As Project Default -- Removes the default designation from the selected test object map. To set the default designation, right-click the test object map in the HCL OneTest™ UI Projects view and select Set As Project Default .

Debug -- Launches the current script and displays the Test Debug Perspective, which provides information as the script debugs.

Delete -- Enables you to delete the selected test asset..

Disconnect Project -- Disconnects a Functional Test project, which removes it from the Functional Test Projects view.

Export -- Enables you to export project items for the selected log, project, or script.

Failed Verification Points -- Opens the selected verification point actual results file in the Verification Point Comparator, where you can compare and edit the data. See About Logs.

Final Screen Snapshot -- Available when the log of a script that failed on its last run is selected. Opens the screen snapshot image taken at playback failure. See Screen snapshot on playback failure.

Import -- Enables you to import project items for the selected log, project, or script.

Insert as "callScript" -- Available when a script is selected, inserts the callScript ("scriptname") code in the current script at the cursor location. See Calling a Script from a Functional Test Script.

Insert contained scripts as "callScript" -- Available when a project is selected, displays a message that enables you to choose Yes or No . Yes inserts a callScript command for all scripts in the project, including the selected folder(s) and all subfolders. No inserts a callScript command only for scripts in the selected folder(s). See Calling a Script from a Functional Test Script.

Merge Objects into -- Displays the Merge Test Objects into the Test Object Map page, which enables you to merge multiple test object maps.

Open -- Opens the selected script or Java class in the Java Editor or opens the selected test object map.

Open Log -- Opens the selected log. See About Logs.

Open Test Object Map -- Enables you to display the selected test object map.

Properties -- Displays information about the selected Functional Test project, test object map, test folder, script, or log.

Rename -- Displays the Rename dialog box.

Reset Java Build Path -- Synchronizes the .JAR files in the Customization folder (C:\ProgramData\HCL\HOTUI\Customization) with the Java build path for Functional Test projects. The Java build path appears on the Java Build Path page of the Properties dialog box. For information, see the online Java Development User Guide.

Run -- Plays back a selected Functional Test script.

Set as Project Default -- Indicates the selected test object map as the default in a variety of wizards and dialog boxes, such as the Select Script Assets page of the Record New Functional Test Script and the Create Empty Functional Test Script wizards, and the Copy Test Objects to New Test Object Map page of the Create new Test Object Map wizard. To remove the designation, right-click the test object map in the Projects view and select Clear As Project Default .

Show in Navigator -- Reveals the currently selected element's underlying resource (or the current editor's underlying resource) in the Navigator view. For information, see the online Java Development User Guide.

Team -- Enables you to add test elements to source control, check out elements, check in elements, undo a checkout, get latest version, show checkouts, display the history of an element, share a project, or compare versions or elements. If you do not have ClearCase® installed, the Team > Share Project menu displays. If you have ClearCase installed, all the menu items on the Team menu display.

To open: HCL OneTest UI automatically displays the Projects view (by default) in the Functional Test Perspective.

Feedback