Share
Go down
harendra
Posts : 3
Join date : 2010-02-02

Silenium IDE code for selecting and ajax autopopulate dropdown item

on Tue Feb 02, 2010 5:18 pm
Hi Friends,

I am working on an application which does not run
in Firefox. I am
writing an automation script, for this application, in XHTML
which
runs in IE using Selenium RC. I have written code to open the
dropdown
list. This dropdown is a customized control. ItÂ’s a combination
of
auto complete drop down and lookup icon along with Ajax
control.
However I am unable to write the code which will select a record
from
the dropdown.

Can anyone please help with this?


------- This is the code to open the drop down list and this
works
-----------

click


//img[contains(@src,'http://Webserver/TESTAUT/images/arrow2.gif')]






-------- This is the code
to select record from dropdown. But this
does not work
---------

keyPress


//img[contains(@src,'http://Webserver/TESTAUT/images/arrow2.gif')]


C



Besides the above code we
also tried keydown, keyUp commands to select
the record from
DDL.

Thanks,


Last edited by harendra on Wed Feb 03, 2010 2:02 pm; edited 2 times in total (Reason for editing : No)
Back to top
Permissions in this forum:
You cannot reply to topics in this forum