Using Keyword Validation In EveryStep


Glossary:  Keyword Text Validation

Keyword validation is a feature of the Everystep Scripting tool available only when you are recording a Userview script.  The option is disabled for both ServerView and Loadview scripts.

Keyword text validation may be added 3 different ways:

1.  By default, when you load a new URL, the Keyword validation window will popup.  You can disable this automatic popup by checking the box in the window “Disable automatic launch for this window”.  If you have disabled the automatic popup, you can still access the keyword validation window via the following two methods.

2.  Using the “Text” Button at the left of the script recording tools panel.


3. By selecting any text on a page and right-clicking on the selected area.

Note:  This method of validation is only available for text contained in the HTML code of the page.  To validate text rendered by Silverlight or Flash you need to use the “RIA Picture” validation



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

This is an example of what a keyword assertion looks like in the actual script:

tab0.KeywordAssert (“exact keyword phrase entered“);
Note: The script looks for the exact case and punctuation that you enter, so if you are looking for a word that begins with a capital letter you must be sure to use the proper case.

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, which adds a line break to the end of the keyword.

You can specify multiple words in the exact order they appear, however, If you wish to specify multiple keywords that are not in sequence, you should specify each word in a separate keyword validation window (the entry box does not accept comma separated or semi-colon delimited lists of keywords).

We recommend that you enter at least one keyword that you know will always be displayed on the page.  This ensures that when the page loads during the script execution, you know that the content was actually loaded and rendered properly.