- harendra
- Posts : 3
Join date : 2010-02-02
Silenium IDE code for selecting and ajax autopopulate dropdown item
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,
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
-----------
-------- This is the code
to select record from dropdown. But this
does not work
---------
Besides the above code we
also tried keydown, keyUp commands to select
the record from
DDL.
Thanks,
- For every change in the code of selenium RC, Is that necesary to compile the selenium RC code every time.
- ajax dropdown selection and changing the text of label in IE7
- Selecting item from a drop down richfaces control type
- selecting search item values in drop down using selenium webdriver
- how to select dropdown value
Permissions in this forum:
You cannot reply to topics in this forum