I am using Selenium IDE and trying to click an autocomplete item in a field. I am unable to find a way to click the element. When you click the item it populates the next field. I have been playing around with this for two days and cannot figure it out. If I could get the mouse cursor in the field, then press down followed by enter it would probably work. I tried:
<td>clickAt</td>
<td>id=txtCategory</td>
<td></td>
<td>keyPress</td>
<td>css=.ui-corner-all+.ui-corner-all+.ui-corner-all+.ui-corner-all</td>
<td>\40</td>
<td>keyPress</td>
<td>css=.ui-corner-all+.ui-corner-all+.ui-corner-all+.ui-corner-all</td>
<td>\13</td>
but it didn't work. I have tried using focus and/or blur with sendkeys, keydown, and keypress but I couldn't seem to get that to work either. There is also a hoverstate when you mouseover the autocomplete word. I couldn't find a way to access that state in selenium nor do I know if I need to. Any help would be appreciated.
Here is a link to the picture of the field I am trying to click while being inspected by firebug, along with a few of the things i was trying in Selenium IDE.
I have also tried:
For Value was I supposed to put 'Customer check bounced'? I can get the text in the field but without actually clicking the Autocompleted text the next field will not populate. Here is what I tried:
<td>typeKeys</td>
<td>css=.ui-corner-all+.ui-corner-all+.ui-corner-all+.ui-corner-all</td>
<td>Customer check bounced</td>
<td>fireEvent</td>
<td>css=.ui-corner-all+.ui-corner-all+.ui-corner-all+.ui-corner-all</td>
<td>focus</td>
<td>fireEvent</td>
<td>css=.ui-corner-all+.ui-corner-all+.ui-corner-all+.ui-corner-all</td>
<td>blur</td>
<td>keyPress</td>
<td>css=.ui-corner-all+.ui-corner-all+.ui-corner-all+.ui-corner-all</td>
<td>\13</td>
Thanks, Bob