I have a drop down which is quite dynamic and huge set of data(50-60+) data.
My manual scenario is I reach out to that page,click on drop-down icon,type expected value, and dropdown will bring that typed keys in selection, hitting enter will bring it in selection mode in drop-down.
I tried to acheive it with following code
//Identifying drop down icon.
Element change_system =Find.ByXPath("//select[@id='ddlSystemClientId']");
//clicking on drop down icon, which expand drop down
ActiveBrowser.Actions.Click(change_system);
//Typing or sending keys to select specific value which is 50th position in drop down
ActiveBrowser.Actions.SetText(change_system,"core speaker");
I got an error
Target '[Element: 'select:0' (id=ddlSystemClientId)]' is not a supported element to set text to.
(PFA Screenshot)
What can be possible code for this in coded staep