Keyword validation is used within a website monitoring script to ensure that the expected keywords appear on the specified webpage.

Keyword Validation in the EveryStep Recorder window may be added two different ways.

Using the Keyword button

Keyword validation is available by selecting the Keyword button from the left side toolbar of the EveryStep Recorder window. This will open the Keyword Validation dialog box.

You can populate the Keyword Validation dialog box with any single word.

You may specify multiple words, but only in the exact order, they appear.

If you wish to specify multiple keywords that are not in sequence, you should specify each keyword in a separate Keyword Validation dialog box. The Keyword Validation dialog box does not accept comma separated or semi-colon delimited lists of keywords.

Keyword validation adds a line to the script that asserts the specified keyword exists somewhere on the currently loaded web page.

The script looks for the exact case and punctuation that you enter. If you are looking for a word that begins with a capital letter you must be sure to use the proper case when specifying the keyword.

If you try to add a keyword and the script returns an error stating that the keyword does not exist, make sure that you have entered the text exactly as it appears on the page and that you have not accidentally added a space or pressed enter at the end.  If this occurs, a line break will be added to the end of the keyword.

Selecting a keyword on the web page

You can also add a keyword for Keyword Validation by selecting a word on the page and then right-clicking (alternate click) the word. This will open the Keyword Validation dialog box and automatically populate it with the word you have selected.