You can create new keywords using one of three methods:
by creating new steps in the Manual Test editor,
by associating manual test scripts with a keyword, or by dragging
steps in a manual test script to the Keyword View.
About this task
Use one of the following procedures to create a new keyword:
Procedure
- To create a new keyword using the Manual Test editor:
- Point to Construction, (
), and click All Keywords.
- In the toolbar, click the Create Keyword icon (
) to open the New Keyword dialog box.
- In the Name field, provide a
descriptive name that identifies it as a keyword, such as Login Keyword.
- Specify tags to associate with the keywords. Tags are
words used for searching purposes.
- Click OK. The keyword shell is
created.
- To open the keyword in the Manual Test editor, click the keyword name in the Associated Script column.
- Optional: Provide a description by editing the text, Keyword Implementation.
- To begin typing your statements, click Click
to add from the text editor. Keywords are small test scripts.
Follow the instructions in Creating manual test scripts to create the script steps in the keyword.
- When you have finished adding steps, click Save at the top of the page to save the keyword.
- To create a keyword by associating the keyword with a manual
test script:
- Point to Construction,
(
),
and click All Keywords.
- In the toolbar, click the Create Keyword icon (
) to open the New Keyword dialog box.
- In the Name field, provide a
descriptive name that identifies it as a keyword, such as Login Keyword.
- Specify tags to associate with the keywords. Tags are
words used for searching purposes.
- Select Associate Existing Manual Test Script, and click OK.
- In the New Keyword dialog box,
select the test script to associate with the keyword, and click OK.
- To open the keyword in the Manual Test editor, click the keyword name in the Associated Script column.
- To create a keyword from steps in a manual test script:
- From an open manual test script, select the group of
steps to be the keyword.
Tip: To select a group
of steps, click the first step in the group. Then Shift+Click the
last step in the group.
- Drag the selected steps to the Keyword View. The New Keyword dialog box opens.
- In the Name field, type the name
of the keyword.
- Optional: Type tags to associate with the keyword in
the Tags field.
- Click OK.
- If you want to replace the selected steps with the new
keyword, click Yes to the confirmation; otherwise,
click No.
Note: When a keyword
is added to a script, it is marked with the
Keyword (

) icon.
- Click Save at the top of the
page to save changes.
Results
The keyword is added to the
Keyword View in the
Manual Test editor.