After adding 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.
Procedure
To create a keyword-enabled script:
- In the main menu, click . The Browse 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:
- Click the Show Keyword View icon
(
), which
is in the editor toolbar. Type the name of the keyword in the text field
that is labeled Type Filter Text. As
you type, the search filters the list of existing keywords and returns
those keywords that contain your search string. Additionally, click
the Advanced Filters icon next to the filter text field
to search for keywords by attributes or using saved queries.
- 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 onto
the manual test script.
Tip: Associate keywords
with scripts using channels to accelerate tests of common features
across various devices and platforms. Examine your keywords' channel
coverage in their associated test scripts by reviewing the Keyword
Coverage section in the test script editor.
- Click Save at the top of the page
to save the test script.