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

can i copy the element from the exsiting elemtents list?

3 Answers 154 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yan
Top achievements
Rank 1
Yan asked on 16 Feb 2012, 07:24 AM
i found many function like command buttons in our system was almost the same.
so in order to save the time,
can i copy the element from the exsiting elements list?

for example
i have the add button which is recorded in the elements list.
and other buttons like modify, delete
i can copy the new one only to edit them by changing the finding logic,
other than record them again.

is that possible?

3 Answers, 1 is accepted

Sort by
0
Accepted
Anthony
Telerik team
answered on 16 Feb 2012, 07:24 PM
Hello Yan,

You cannot copy and paste elements in the Elements Explorer. This isn't necessary, however, due to the way the Element Repository Works.

Elements are only found by their Find Settings (and via a frame, if applicable). Their location under a specific Page node is purely for organizational purposes. You can change the Elements Page Compare Mode for better organization moving forward, and edit the CompareMode property for existing Page nodes.

Regards,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Yan
Top achievements
Rank 1
answered on 17 Feb 2012, 03:11 AM
thanks for your help
it inspires me to think it in another way.
maybe i will change my strategy.

i will try to record it in the relative way.
does it mean that i will record the stuff from the beginning?
0
Anthony
Telerik team
answered on 17 Feb 2012, 05:05 PM
Hello Yan,

No, not necessarily. If you've already recorded a significant amount of tests, it's probably easier to organize your existing elements by editing the Page nodes than to re-record your tests from scratch.

All the best,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Yan
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Yan
Top achievements
Rank 1
Share this question
or