locked
How to select listitems from listbox control which is hidden because of listbox control in Coded UI for Automation Testing RRS feed

  • Question

  • Hi,

    I have a listbox control with listitems and trying to select  listitems which is hidden because of listbox scrollbar using coded ui test builder. But I couldn't select listitems. It gives error "Not able to perform click operation on hidden control".  Can you please let me know how could I select those listitems from listbox.

    Please refer to below screen.


    






    Monday, February 17, 2014 10:30 AM

Answers

  • Hi,

    I assume that you did coded UI test by hand coding. Please try to do the coded UI test through action recording using Coded UI Test Builder. When you record actions, please drop down the listbox scrollbar to make the listitem visible and then select the listitem.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Amanda Zhu Thursday, February 20, 2014 9:49 AM
    • Marked as answer by Amanda Zhu Monday, February 24, 2014 1:31 AM
    Tuesday, February 18, 2014 5:21 AM