0 Replies Latest reply on Jun 2, 2011 9:27 AM by kickmetoandy

    How to select suggestbox item via Selenium 2

    kickmetoandy Newbie

      Hi all,

       

      i'm trying to write a selenium 2 testcase for my application. Currently i am having the problem that i cannot select a item contained in a suggest box. I can check if the suggest box is visible and i can check if the expected suggest box items are available. However i cannot select any displayed suggest box item, because i do not have a handle on the element. The suggest box table seems to be very generic, not using any ids for the table. The items act as link, however i cannot see any link in the html source code for the items (having looked at the ajax response that provides the suggestbox result entries).

       

      any hints how to simulate a clicking on a suggest box item is really appreciated.

       

      thanks in advance,

      andy