I am automating a couple of MFC ComboBoxes. What I did was:
Ranorex.ComboBox c = _path; c.Items[_index].Select(); _name = c.SelectedItemText;And that works fine for all but one ComboBox. This particular ComboBox doesn't seem to be any different but it exhibits a particular behavior. When automating I choose a value from ComboBox, close a dialog and open it again to check if it's the same. This works when I use mouse(either through automation or manually), but fails when using select method.
I want to talk with developers and have them figure out why this particular control behaves differently but for that I would like to know what is the difference between using select method and actually expanding combo box and clicking on an item?