This is a migrated thread and some comments may be shown as answers.

Elements maintenance

3 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Franklin
Top achievements
Rank 1
Franklin asked on 05 Mar 2013, 06:51 PM
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. 

3 Answers, 1 is accepted

Sort by
0
Rodney
Telerik team
answered on 06 Mar 2013, 07:24 PM
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
0
Franklin
Top achievements
Rank 1
answered on 07 Mar 2013, 01:13 AM
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
0
Rodney
Telerik team
answered on 07 Mar 2013, 09:08 PM
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
Tags
General Discussions
Asked by
Franklin
Top achievements
Rank 1
Answers by
Rodney
Telerik team
Franklin
Top achievements
Rank 1
Share this question
or