After you have added keywords to the repository, you can
add them to a new or existing script. Keyword-enabled manual test
scripts can be composed solely of keywords, or they can be a mix of
keywords and manual statements.
About this task
To create a keyword-enabled script:
Procedure
- Open a script by pointing to Construction (
),
and clicking View Test Scripts. The View Test Scripts window opens.
- From the list of test scripts, click the name of the test
script to open it in the Manual Test editor.
- Use the Manual Test editor to add
keywords:
- From the Keyword View, type the
name of the keyword in the text field labeled Type Filter
Text. As you type, the search filters the list of existing
keywords and returns those keywords that contain your search string.
- In the Manual Test editor, position
your cursor at the point in the statement where you want to insert
the keyword.
- In the Keyword view, right-click
the keyword, and then click Insert Before or Replace Statement. The keyword is added to the script
and marked with the Keyword icon (
). Tip: You can also drag keywords from the Keyword View to the manual test script.
- After adding keywords, click Save at the top of the page to save the test script.