Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Silenium IDE code for selecting and ajax autopopulate dropdown item

View previous topic View next topic Go down

Silenium IDE code for selecting and ajax autopopulate dropdown item

Post by harendra 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)

harendra

Posts : 3
Join date : 2010-02-02

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum