Need More Info
Last Updated: 23 Jun 2021 15:01 by ADMIN
David
Created on: 17 Jun 2021 13:11
Type: Feature Request
0
Drag and Drop Element Organization

As our team has grown, we have seen Test Studio record elements that already exists but with different naming conventions and under different pages.

Although I understand that much of the element class (pages.cs) is dynamically produced, I think it would benefit the end user to be able to drag/drop organizing the elements much like you can in other solutions.  This would help the end user have a better organized and less chance for duplication/mess of elements.

1 comment
ADMIN
Elena
Posted on: 23 Jun 2021 15:01

Hi David,

To elaborate on this request I would like to provide some details for how elements are being handled in Test Studio. I hope that these will be helpful for sorting out the listed difficulties. 

The elements references are being stored in each test and the Pages.g.cs file is being dynamically generated based on the current content of the project. But how are these organized in the Elements Explorer? 

Each element is recorded under a page node at least -if it is in a frame, there is one more additional frame node between the page and element nodes in the Element Explorer. The different page nodes are compared based on their properties and the specific compare mode selected for the node and the project. 

The compare mode can be set on project level in the Project Settings -> Recording tab and will be applied for all future recorded elements. If there are existing page nodes, which actually correspond to the same page, but with different query or fragment portion, you can change the page nodes properties to match the desired compare mode and these will be merged into single node in the Elements Explorer. That way an new elements will be directly merged to any already existing elements under the matched page node. 

If you setup the project as per the specifics of the tested application, it should be easier to maintain the elements in the Elements Explorer. Please, take a look on these suggestions and try to apply these. I guess your project is large and complex, so I will recommend you test these adjustments in a copy of the project - that way you will avoid messing up the project if you need to test different settings to find the most appropriate. 

I also remain available to continue the discussion in terms of identifying if there is a feature suggestion, which can improve this overall process. 

Thank you for your cooperation in advance.

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.