Archive

Archive for October, 2011

handle autocomplete in selenium IDE

The type command may not be enough to trigger the autocomplete.  My only addition would be that you might need the typeKeys command, which causes slightly different JavaScript events to be fired, which may be more likely to trigger the autocomplete widget.

So we can use the following steps to handle the situation,

  • typeKeys
  • waitForTextPresent
  • mouseOver
  • clickAt
Advertisements
Categories: Selenium Tags: , ,