How to select an option from the Telerik RadComboBox using Selenium WebDriver and c#? How to select an option from the Telerik RadComboBox using Selenium WebDriver and c#? selenium selenium

How to select an option from the Telerik RadComboBox using Selenium WebDriver and c#?


I use driver.Click()

First I click the combo to cause it to open:

driver.Click(By.Id("ctl00_WCEContentPlaceHolder_RadToolbar_ReportsMenu_rttb1_ctl00_rcb_Reports");

Then I click the element by ID. This one happens to be the first in the list.

driver.Click(By.Id("ctl00_WCEContentPlaceHolder_RadToolbar_ReportsMenu_rttb1_ctl00_rcb_Reports_c1");