What can Uid property do?

2 posts, 0 answers
  1. 王 avatar
    1 posts
    Member since:
    Sep 2018

    Posted 03 Sep 2018 Link to this post

    Is any possible  access element by Uid?

    Or What can Uid do?

    It's the my Xmal code

    Is it use Find.ByAutomationID?

    <button Name="OKButton" Uid="43512247">
  2. Elena
    Admin
    Elena avatar
    1104 posts

    Posted 05 Sep 2018 Link to this post

    Hi,

    Thank you for reaching us out. 

    The Uid property should be a unique identifier of an element and could be used for that in the Telerik Testing Framework as well. Though currently we expose that property as a number which might not be unique although the Uid is a string property. The issue is submitted to our public feedback portal and will be further investigated - you could follow its progress here, vote for it, add comments, etc. 

    Meanwhile I will recommend you rely on any other unique attributes of the elements in the application under test such as Name, as the shared example.

    Thank you for your understanding in advance! Please let me know if you have any further questions on the topic. 

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