This topic introduces the Spell tool, which reports misspelled words.
Sections include:
Understanding the Spell Tool
The Spell tool reports misspelled words found in the input. It helps you quickly identify spelling errors within HTML and XML. files. Since it understands HTML and XML tags, it does not erroneously report tags and words adjacent to tags as misspelled. It is even able to spot spelling errors that appear only when the code is rendered (for example, “an<B>error</B>”).
This tool can be chained to a Browser Playback tool to check spelling at a given test step.
Spelling can also be checked when performing static analysis of specific files (see Performing Static Analysis) or when functional test suites execute (see Configuring SOAtest to Run Static Analysis on Web Scenarios). To check spelling during static analysis, use the "Spell Words Correctly" rule, which is in the Check Spelling category. This rule has the same customization options as the Spell tool.
Both the tool and the rule use the same dictionary.
Customizing the Spell Tool
You can customize the following options:
- Case sensitive: Determines whether spell checks are case-sensitive.
- Always allow’s: Determines whether SOAtest allows the possessive form of words in its dictionary.
- Check HTML: Determines whether SOAtest spell checks HTML files.
- Check Alt attribute: Determines whether SOAtest spell checks the words in an IMG tag’s ALT attribute.
- Check XML: Determines whether SOAtest spell checks XML files.
Customizing the SOAtest Dictionary
The dictionary can be customized in two ways:
- Right-clicking a reported misspelled word in the Quality Tasks view, then choosing Add to Dictionary.
- Directly adding acceptable words to the dictionary via the Preferences panel. See Dictionary Settings.