This question is locked. New answers and comments are not allowed.
issue in selecting item by index in a combobox (a custom combobox has been made in the application)
my application is using a ValidatableCombobox whose base type is combobox.
When I am trying to select the values from this combobox , its not selecting . Its just clicking on this combobox. ( i am doing it through coded steps)
Below is the code used:
wpfApp.GetWindow(lastcaption.ToString()).Find.ByName<ComboBox>("gender").SelectItemByIndex(false, 0,true);
Whereas this particular thing works for other combobox which are not custom but using the standard combobox class.
Please help me out with this as I need it urgently.
my application is using a ValidatableCombobox whose base type is combobox.
When I am trying to select the values from this combobox , its not selecting . Its just clicking on this combobox. ( i am doing it through coded steps)
Below is the code used:
wpfApp.GetWindow(lastcaption.ToString()).Find.ByName<ComboBox>("gender").SelectItemByIndex(false, 0,true);
Whereas this particular thing works for other combobox which are not custom but using the standard combobox class.
Please help me out with this as I need it urgently.