Handle Dynamic Element ID

4 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Jan 2011

    Posted 04 Feb 2011 Link to this post

    Hi,

    I am trying to verify the contents of a Silverlight Element that has a dynamic ID.

    e.g.

    When the Silverlight application loads the element has an ID of February2011TextBlock, if I update the value of a certain element the id of the textblock will change, to, for example, March2011TextBlock.

    How can I verify the value of the TextBlock after changing the value of the associated element?
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 04 Feb 2011 Link to this post

    Hi David,
       Thank you for choosing to evaluate WebUI Test Studio!

    Please check out this KB article:
    http://www.telerik.com/automated-testing-tools/support/kb/test-automation/working-around-dynamiclly-generated-id-attributes.aspx

    Let me know whether you need any further assistance!

    Regards,
    Stoichev
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  3. Deepak
    Deepak avatar
    2 posts
    Member since:
    Dec 2011

    Posted 02 Feb 2012 Link to this post

    Above KB artical link is not valid, through 404 error. do you have another link ?

    thanks
    Deepak
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 02 Feb 2012 Link to this post

    Hi,

    Yea we did some reorganizing of our documentation. Here's the new link:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/test-automation/dynamically-generated-id-attributes.aspx 

    Kind regards,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top