0

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.

siri
  • 81
  • 2
  • 9

1 Answers1

2

Try below

WindowsElement comboBox= (WindowsElement) winDriver.findElement(fundSponsorCombo);
comboBox.SendKeys("element to select");
Nigel Savage
  • 991
  • 13
  • 26