|
Synopsis
Many applications now include AJAX-implemented autosuggest functions.
A good example of this is the basic
Google Search Function,
which uses an AJAX capability to interrogate Google databases
and make suggestions on a likely search target based on keyword matches found on their server.
"Out Of Box "Recording Method
To record an AJAX autosuggest text entry "out of the box" you can use these simple steps.
Before you start, please make sure that the text entry box you are working with does have the true AJAX-based autosuggest type of behavior (look at the last picture below). If you DON'T see that kind of drop-down menu then you should just record this text box in the regular way -- no special tricks like the recording protocol described here would be needed.
Completed Script
The final recorded script is shown here.
# Recording by eValid V9 # Copyright (c) 2009 by Software Research, Inc. # Recording made on: Microsoft Windows Vista Service Pack 1 (IE 7.0.6001.18000) ProjectID "Advanced.Testing" GroupID "Autosuggest" TestID "Test" LogID "AUTO" ScreenSize 1280 800 FontSize 0 DeleteCache DeleteCookies InitLink "http://www.google.com/" Wait 6068 InputValue 0 60 "TEXT" "" "q" "zzzz" "" "" Wait 5756 ElementMouseDown 0 86 "" " best company" "" Wait 203 ElementClick 0 86 319 243 "" " best company" "" NAV # Recording stopped. |