Find in live version

2 posts, 0 answers
  1. Joshua
    Joshua avatar
    15 posts
    Member since:
    Apr 2011

    Posted 29 Sep 2015 Link to this post

    I'm having issues locating controls because we create controls dynamically. I'm using the "Find the live Version" feature but its forcing me to test with IE and I would like to use chrome. I would also like to know what other ways I can accomplish this issue of finding dynamically created controls. Please provide a sample project if possible; I'm using Test Studio within VS 2013.
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 02 Oct 2015 Link to this post

    Hi Joshua,

    There are several ways how to handle dynamically generated controls.

    1. Edit the find expression of the element. Remove all dynamically generated attributes which the find expression uses and use static ones (e.g. text content, ID).

    2. Use chained find expression.

    If those suggestions don't help please send us a screen shot of the DOM tree so we can give you a solution.

    Hope to hear from you soon.

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