Drop Down Lists

6 posts, 0 answers
  1. Kevin
    Kevin avatar
    4 posts
    Member since:
    Sep 2013

    Posted 03 Oct 2014 Link to this post

    Hi,

    I'm currently trying to validate the contents of a drop down list but I'm unsure on how to go about doing this (This is in Silverlight).  Any suggestions?

    Cheers

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 08 Oct 2014 Link to this post

    Hi Kevin,

    You can perform a regular verification against a drop down item.

    Please see this video for a demonstration.

    Do you experience some issues with that?

    Looking forward to hearing from you.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Kevin
    Kevin avatar
    4 posts
    Member since:
    Sep 2013

    Posted 09 Oct 2014 in reply to Boyan Boev Link to this post

    Hi Boyan,

    Thanks for the reply.

    I've had a look at the demonstration video but when I repeat the same steps I got a comboBoxItem option not a RadComboboxItem.
    The quick task menu only allows me to verify index, visible, collapsed, left and top positions.

    I've continued to be able to write some tests using image verification for the moment but ideally I really need to match the text.

    I look forward to your reply.

    Kevin
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 14 Oct 2014 Link to this post

    Hi Kevin,

    Thank you for the additional information.

    I have reproduced this issue and I will consult this with our devs.

    I will update this ticket accordingly.


    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. Kevin
    Kevin avatar
    4 posts
    Member since:
    Sep 2013

    Posted 14 Oct 2014 in reply to Boyan Boev Link to this post

    Thank you

    Kevin
  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 14 Oct 2014 Link to this post

    Hi Kevin,

    I have logged a bug regarding this matter. You can track and vote for it here.

    Meanwhile you can workaround this in a coded step. Add the item manually into the Element Explorer:

    Assert.AreEqual<string>("testText", Pages.SilverlightApplication.YourSLapp.yourComBoxBox.Text);

    Let me know if this helps.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top