Spelling Verification
ASTA includes a built-in spellcheck feature that identifies potential spelling errors in text content. By default, it uses an English dictionary, but you can extend this with custom dictionaries to include domain-specific terminology. ASTA also provides a default set of common misspellings and their corrections, which can be used to automatically correct certain errors during testing.
Custom Misspellings
You can create a custom list of common misspellings and their corrections by modifying the default misspellings dataset or uploading a JSON file with the following format:
[
{
"incorrect": "teh",
"correct": "the"
}, ...
]The dataset must be named misspellings.
Custom Spellcheck Dictionaries
You can upload custom spellcheck dictionaries to extend the default English dictionary with domain-specific terminology, product names, technical terms, or other words that should not be flagged as spelling errors.
Dictionary File Format
Custom dictionaries use the standard Hunspell .dic format:
- Optional first line: A number indicating the total word count (can be omitted)
- One word per line: Each subsequent line contains a single word
- Case-sensitive: Add both uppercase and lowercase variants if needed (e.g.,
APIandapi)
Example custom_terms.dic file:
CompanyName
ProductX
API
webhook
OAuthUploading and Using a Custom Dictionary
-
Use the Data page to upload your custom dictionary file as a 'File' asset. Files with a .dic extension will be recognized as spellcheck dictionaries and made available for selection in run templates.
-
In your run template, select your custom dictionary in the Spellcheck Dictionary section.
Tips
- One word per line: Do not include definitions or multiple words on a single line
- Include variations: Add plurals, different cases, and common variations of terms
- Blank lines are ignored: You can use blank lines to organize sections within your dictionary file