Testing Spell Check with TestDriver
This scenario demonstrates how to automate testing the spell check functionality of a web application using TestDriverโs capabilities. The test will check if the spell checker correctly identifies and suggests corrections for misspelled words in a text input field.Prerequisites
Before running the tests, ensure you have performed the following steps:- If you havenโt already, signup for a Free Trial on the TestDriver website
- Run the
init
command to set up the TestDriver configuration using the API key you got when you signed up for the trial:
Now you are ready to run the tests!
Scenario overview
- Open up a webpage that has text input and a spell check function.
- Enter a misspelled word into the text input field.
- Trigger the spell check function (for example, by clicking a button or losing focus on the input field).
- Verify that the spell checker identifies the misspelled word and provides suggestions for correction.
- Optionally, select a suggestion and apply it to the text input field.