Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
Sivachandran
Posts : 3
Join date : 2013-04-23

How to Select the Value in RadCombo Box Using java Empty How to Select the Value in RadCombo Box Using java

Tue Apr 23, 2013 5:25 pm
Hi ,
Am Started Working in Selenium RC (Java) , Facing Issue in Selecting the value from Radcombo box. Can any one Suggest me how to click the selected value


Rad Combo Box ID : id=ctl00_ContentPlaceHolder1_ddlClient
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

How to Select the Value in RadCombo Box Using java Empty Re: How to Select the Value in RadCombo Box Using java

Wed Apr 24, 2013 4:49 pm
Did you try Select class -

http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/support/ui/Select.html
avatar
Sivachandran
Posts : 3
Join date : 2013-04-23

How to Select the Value in RadCombo Box Using java Empty Re: How to Select the Value in RadCombo Box Using java

Wed Apr 24, 2013 4:56 pm
hi Tarun ,
Thanks for ur Response

I had already tries with Select option .. But it doesnt work ..
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

How to Select the Value in RadCombo Box Using java Empty Re: How to Select the Value in RadCombo Box Using java

Wed Apr 24, 2013 5:12 pm
Did you get any exception? please provide details.
avatar
Sivachandran
Posts : 3
Join date : 2013-04-23

How to Select the Value in RadCombo Box Using java Empty Re: How to Select the Value in RadCombo Box Using java

Wed Apr 24, 2013 5:15 pm
Hi Tarun ,

ID: id=ctl00_ContentPlaceHolder1_ddlClient
Label (Value) : RR Donnley

selenium.type("id=ctl00_ContentPlaceHolder1_ddlClient_Input","RR Donnley");
selenium.click("id=ctl00_ContentPlaceHolder1_ddlClient_Arrow");
selenium.typeKeys("id=ctl00_ContentPlaceHolder1_ddlClient_Input", "RR Donnley");
selenium.mouseOver("//li[.='RR Donnley']");
selenium.click("//li[.='RR Donnley']");
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

How to Select the Value in RadCombo Box Using java Empty Re: How to Select the Value in RadCombo Box Using java

Thu Apr 25, 2013 10:03 am
ah you are on to Selenium1 while the API I provided was of Selenium 2
My suggestion is to stop using Selenium 1 as it is deprecated and write tests with Selenium 2.

If you insist then with Selenium1, you could try - http://selenium.googlecode.com/svn/trunk/docs/api/java/com/thoughtworks/selenium/DefaultSelenium.html#select(java.lang.String, java.lang.String)
Sponsored content

How to Select the Value in RadCombo Box Using java Empty Re: How to Select the Value in RadCombo Box Using java

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