Reputation: 81
I am automating desktop application using win app driver. I need to select a value from list of dropdown options. I am able to click on the dropdown but not able to select the drop down item based on the name. I tried implementing using windows element but I am getting error.
WindowsElement comboBox= (WindowsElement) winDriver.findElement(fundSponsorCombo);
comboBox.click();
Can anyone help me this. Appreciate your help.
Upvotes: 0
Views: 1326
Reputation: 36
Try below
WindowsElement comboBox= (WindowsElement) winDriver.findElement(fundSponsorCombo);
comboBox.SendKeys("element to select");
Upvotes: 2