- Introduce a partial string into the text area, for example evali.
- Capture the contents of the DOM after the AJAX activity has provided some suggested completions.
- Confirm that a required string, for example evalid, is present within the available suggestions presented by the autocomplete feature.
The goal of the script is to confirm that, among all of the possible suggested completions, that the target evalid string is among the options presented. If successful, this process effectively validates operation of the AJAX autocomplete function by confirming its results with known (expected) data.
Here is the link to the full solution description: Checking AJAX Autocomplete Functionality