We have a windows client app having a custom activex control hosting a web page. The web page has a WinFormComboBox that we need to target as part of our automation script. The good news is, white does a decent job of identifying this control and also selects
an appropriate value from the list. However there are instances when the correct value is not selected from the dropdown, I will try and explain this with the code snippet given below
White.Core.Application _lowis = White.Core.Application.Attach("LowisLauncher" );
List<White.Core.UIItems.WindowItems.Window > _lowiswindow = _lowis.GetWindows();
var lst = _lowiswindow.Get<White.Core.UIItems.ListBoxItems.WinFormComboBox>(SearchCriteria .Indexed(0));
lst.Enter("Modbus" ); // This works
lst.Enter("TI 305" ); // This works
lst.Enter("SaltCreek WellTest"); // This does not work and the list item selected is an item that starts with letter "T"