Shared object repository in QTP 9.5 - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Shared object repository in QTP 9.5 (/Thread-Shared-object-repository-in-QTP-9-5) |
Shared object repository in QTP 9.5 - Bhuvaneswari - 07-08-2008 Hi, We have created 3 actions in one Test with Shared Repository using QTP 8.2. As we upgrade from QTP 8.2 to QTP 9.5, we have also converted those test created QTP 8.2 to QTP 9.5. In the QTP 9.5 converted test, We have added 2 more actions and mapped the new actions to the existing repository using Associate Object Repositories. Now we are doing some recording by which new objects are added to repository of the newly created action. These objects are stored only as "LOCAL" and not in the shared repository. Could you please let us know on the settings by which when we do any new recording, the the new objects are saved in the shared repository which was converted from QTP 8.2. Note: We are not using QC for storing the test. We are saving all the test locally on our system and update them on VSS RE: Shared object repository in QTP 9.5 - niranjan - 07-15-2008 The Objects will be stored in Local and you would have to manual merge them into your shared object repository. Or, you can directly add these objects to your shared object repository by using Object Repository Manager RE: Shared object repository in QTP 9.5 - Smita Dash - 07-29-2009 Hi, If each time we need to add objects from local to shared then what is the use of Shared repository as a lot of time consumed in looking into two repositories and adding. And how to manage shared object repository?As in a team of more people it becomes difficult to always merge from local repository to shared.Please suggest. Thanks, Smita RE: Shared object repository in QTP 9.5 - supputuri - 07-29-2009 hi Smita, First of all we have to prepare the Shared OR, this is the first step of any project. Then we will develop the general & business function and then only we will start scripting. Any how the Answer for your question is, in QTP we have ORMerging Tool, where we can merge the Repositories and we have ORComarision Tool using this we can compare the two repositories. Let me know if you need any more info. RE: Shared object repository in QTP 9.5 - QTPian - 07-29-2009 Hi QTPKing, Am using QTP 9.2. Can you please explain me how to create shared repository? or suggest me some link about the same. Thanks, RE: Shared object repository in QTP 9.5 - supputuri - 07-29-2009 Hi QTPian, 1) Navigate to Resources --> OR(Object Repository) 2) Add the objects 3) Navigate to File --> Export Local Objects 4) Enter the Desired Name for Shared OR (Eg:GoogleRepository.tsr). Make sure that the extension is .tsr (Test script Repository). Once you are done with the above steps. Now open a new script and Navigate to Resources --> Associate Repositories. Then select the Shared OR. That's it. Now you can use the objects which are present in the Shared OR. :-) Let me know if you need any more help on this. RE: Shared object repository in QTP 9.5 - QTPian - 07-29-2009 Hi QTPKing, Thanks for the explanation. Let me workout this and shoot out my doubts if any... Thanks, RE: Shared object repository in QTP 9.5 - Smita Dash - 07-30-2009 Hi QTPKing, Thanks for the explanation. Whenever we are recoding then objects are always added in local,then to maintain the shared repostory always we have to do merge the local one with shared which results in conflicts and again is time consuming. Can you let me know some other solution to overcome this issue. Or anything like when we record automatically objects will get added to shared and not local. Thanks, Smita RE: Shared object repository in QTP 9.5 - supputuri - 07-30-2009 Hi Smitha, First of all in any of the project we should create the Shared OR. Now let us see how to create a shared OR. Define the Object identification properties for each of the object type in Tools --> Object Identification. Then perform the following steps 1) Navigate to Resuorces --> OR Manager 2) Click on the New (ctr+N) 3) Open your application 4) Start Adding the objects 5) Once the objects are added save the OR as (SharedOR.tsr) in the shared drive(the location which can be access by all the team). 6) Now open a new test and inorder to work with the ShareOR i.e. created in above steps Navigate to Resources --> Assosicate OR and now provide the SharedOR location. 7) To check the SharedOR is assosication by simple opening of OR (Ctr+R). Now you should able to see all the object that we have added in the step 4. Let me know if you need any more info. RE: Shared object repository in QTP 9.5 - Smita Dash - 07-30-2009 Hi QTPking, Thanks for your information. Thanks, Smita |