issue in selecting item by index in a combobox (a custom combobox has been made in the application)

2 posts, 0 answers
  1. Abc
    Abc avatar
    5 posts
    Member since:
    Aug 2014

    Posted 22 Sep 2014 Link to this post

    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.
  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 25 Sep 2014 Link to this post

    Hello Mamta,

    This looks like an issue you have already submitted in the following forum post, so I am closing this thread as duplicate.

    http://www.telerik.com/forums/issue-impossible-to-select-any-value-from-the-wpf-combobox-until-clicks-on-it-firstly

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top