Can I import object repository

2 posts, 0 answers
  1. Meher
    Meher avatar
    6 posts
    Member since:
    Mar 2014

    Posted 05 Mar 2014 Link to this post

    Hi

    I am new to Test studio, but I am good at C#. I have to automate the web application. So, can I add the test studio dlls to my project and make to of the functions for automating. If yes, how can I use the object repository.

    Please let me know if this is a good idea to do and is possible to do.

    Thanks
    Meher
  2. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 10 Mar 2014 Link to this post

    Hello Meher,

    Instead of an "Object Repository" we have our Element Repository instead:

    When a test project is loaded, all the elements from all tests are merged into the Element Repository, which then gets displayed in the Elements Explorer pane. It is important to know that this Element Repository is nothing more than an in-memory collection of all the elements. The repository, as a single collection, is not persisted to disk. It relies on the individual element definitions that are persisted with each test. During this merge process, any duplicate elements (i.e. the same element according to their Find Expressions) that are used by more than one test are merged and displayed as only one element in the Elements Explorer pane. Under the covers, the Element Repository knows which tests each element is used by.

    You might find this article very useful, because it will show you how we recommend to share resources between multiple projects.  

    Please let me know whether you have any additional questions.

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