can i copy the element from the exsiting elemtents list?

4 posts, 1 answers
  1. Yan
    Yan avatar
    10 posts
    Member since:
    Feb 2012

    Posted 16 Feb 2012 Link to this post

    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?
  2. Answer
    Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 16 Feb 2012 Link to this post

    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
  3. Yan
    Yan avatar
    10 posts
    Member since:
    Feb 2012

    Posted 16 Feb 2012 Link to this post

    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?
  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 17 Feb 2012 Link to this post

    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
Back to Top