Toolbox Pane (GUI Testing)

Relevant for: GUI actions, components, and function libraries

What is the Toolbox Pane?

The Toolbox pane displays test objects and functions available to your document sorted alphabetically. You can view these items, open them in the object repository, action, or function library in which they are defined, or use them to add steps to your document (by dragging or copying the item into the document pane).

When should you use the Toolbox?

Use the Toolbox pane to display available test objects and functions to add to your test.

Note: For details about the API testing Toolbox pane, see Toolbox Pane (API Testing) . For details about the business process testing Toolbox pane, see Toolbox Pane (BPT in OpenText Functional Testing).

Option Description
To access
  1. Do one of the following:

    • Ensure that an action, component, or function library is in focus in the document pane.

    • In the Solution Explorer, select a GUI test or component node, or one of its child nodes.

  2. Select View > Toolbox.

Note: If the Toolbox pane is open, but not in focus, click the Toolbox tab at the bottom.

Important information
  • Checkpoint and output value objects are not displayed in this pane, even if they are included in an associated object repository.

  • The Toolbox pane displays the test objects and functions available to the document that is currently in focus.

  • For function libraries, the Toolbox pane displays only the Local Functions node.

  • When viewing functions, OpenText Functional Testing's default function names appear first in the list, in alphabetical order, and then user-defined functions are displayed below the built-in functions.

How do I use the Toolbox Pane?

You can do any of the following in the Toolbox pane:

Option Description
Add a step using a test object

Drag or double-click the test object into the action or component. A step with the default operation for that test object is inserted. Modify the operation and enter arguments for the step, as needed.

Note: You can drag test objects into an action or scripted component in both the Keyword View and the Editor.

Add a call to a function

Drag the function into the action, component, or function library. A comment and call to that function are added.

The comment indicates that a call to the function was added to your action or component, and indicates any necessary arguments. You then provide the arguments for that function.

Note: You can drag functions into an action or scripted component in both the Keyword View and the Editor.

Navigate to a function's definition

Double-click a function.

OpenText Functional Testing activates the relevant document (if the function definition is located in a function library) and positions the cursor at the beginning of the function definition.

Open an object repository or a function library

Right-click a test object or a function and select Open Resource.

The Object Repository window opens and highlights that test object or the action or associated function library containing that function opens in the document pane and points to the function.

Copy and paste the selected test object or function

Right-click the test object or function and select Copy Keyword. The test object or function is now in the clipboard, and you can paste it into a function library, or for tests, into an action in the Editor.

Pasting the test object or function into the document pane has the same result as dragging it in from the Toolbox pane.