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 you should use the Toolbox
Use the Toolbox pane to display available test objects and functions to add to your test.
Note: If the Toolbox pane is open, but not in focus, click the Toolbox tab at the bottom.
You can do any of the following in the Toolbox pane:
|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.
UFT One 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.