TestStack / White

DEPRECATED - no longer actively maintained
Other
1.02k stars 485 forks source link

How can I extract the text of the selected item from a comboBox encapsuled in a datagrid cell? #659

Open RaduBogdan98 opened 4 years ago

RaduBogdan98 commented 4 years ago

Hello, I need the text from the type cell, witch encapsulates a comboBox. My problem is that the dataGrid cell.getElement() returns AutomationElement type and Cannot be casted to ComboBox, so I cannot access the selectedItem and the text of the selected Item. Do you have any ideas?

forGit