Elements maintenance

4 posts, 0 answers
  1. Franklin
    Franklin avatar
    6 posts
    Member since:
    Aug 2012

    Posted 05 Mar 2013 Link to this post

    Hello, 
       I am using version 2012.2.1217.0

    My question concerns the recording of elements. I have recorded several tests and when I open the elements explorer I see multiple recording sessions for my website, i.e. 'mywebsite0', 'mywebsite1', 'mywebsite2' etc. . . 

       In each of these recording sessions I seem to have the same elements referenced multiple times like so, 'loginButton0', 'loginButton1', etc. . . 

    I want to know if there is a way I can put all my elements I use for my tests in just ONE recording. If I can do it this way, then when an element changes I would only have to update it ONCE in the elements explorer and the maintenance would be incredibly easy. 

       My current scenario is right now I have recorded several tests and one of the buttons I use in each test has been modified and now my tests are breaking. So since I have several instances of the same button across several recordings I have to update each and every one of those which is going to take a lot of time. 

    I hope I have asked my question in the correct area, if this is more a question to pose on the forums please inform me. 
  2. Rodney
    Admin
    Rodney avatar
    6 posts

    Posted 06 Mar 2013 Link to this post

    Hello,

    Thank You for contacting Telerik. I hope you don’t mind I converted your support ticket into a public forum post so that the rest of our customers can benefit from our response.

    From what I understand, during the recording of tests, Elements Explorer lists duplicate entries for the same elements with slightly different names, making it difficult to manage test cases on an ongoing basis.

    To prevent duplication, Test Studio allows you to change the “Elements Page Compare Mode” to the “FullPath” value, as opposed to “FullPathandQuery”. Our Support Site has a great article explaining why this is necessary and a quick way to resolve it. For a full explanation, including step by step instructions you can view the Merge Page Nodes section of our documentation. 

    Greetings,
    Rodney
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Franklin
    Franklin avatar
    6 posts
    Member since:
    Aug 2012

    Posted 06 Mar 2013 Link to this post

    Thank you very much for your answer. It was exactly what I was looking for. Could you give me the link for my questions in the forum? I want to see what comments/questions/hate mail other users post for my benefit. 

    Frank
  4. Rodney
    Admin
    Rodney avatar
    6 posts

    Posted 07 Mar 2013 Link to this post

    Hi Franklin,

    You are welcome. You can track future correspondence at the following forum thread.

    Regards,
    Rodney
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top