is we can import the object repository from external
source. if it so then how?

Answers were Sorted based on User's Feedback



is we can import the object repository from external source. if it so then how?..

Answer / savariya

You can add Repository throw following command

RepositoriesCollection.Add "Path"

Is This Answer Correct ?    6 Yes 0 No

is we can import the object repository from external source. if it so then how?..

Answer / murali raju

Open the .tsr file using object repository tool
window..plz mention which version of qtp u r using at the
time of asking question..so i will explain with
navigation...

Is This Answer Correct ?    0 Yes 0 No

is we can import the object repository from external source. if it so then how?..

Answer / suresh

Thank you. But my question is "Is it possible to load
Object Repository through script?"

Is This Answer Correct ?    0 Yes 0 No

is we can import the object repository from external source. if it so then how?..

Answer / anavuong

I want add object before action others function so I have
wrote that below:
RepositoriesCollection.Add "D:\Quick test
Professional\Exercise\Object_case1.tsr"

After then I have opened Object Repository windown but i
don't have see them.

Is This Answer Correct ?    0 Yes 0 No

is we can import the object repository from external source. if it so then how?..

Answer / mayank

This is fine, but when you give the relative path and open
the script, qtp converts in absolute path.

I want to add as follows-
RepositoriesCollection.Add "..\..\ObjRep\or.tsr"


QTP is showing as follows
Drive:\xyz\pqr\ObjRep\or.tsr

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

IF we use batch testing.the result shown for last action only.in that how can i get result for every action.

2 Answers  


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

0 Answers  


If I want to run more than one test (With different functionality) with in one script, then what i do? plz. explain with any example.

4 Answers  


Can we write class for vb script in Quick Test Professional?

2 Answers   JPMorgan Chase,


I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?

4 Answers   IBM,






In an application you have a web table. You are provided with an external Excel sheet with the same structure as that of the web table. How will you retrieve all data from the web table and compare it with corresponding data available in the excel sheet, using QTP? How will you report the results in QTP?

1 Answers  


In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data

2 Answers  


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

0 Answers   Livetek, NIIT,


What is different command used in command Prompt while using QTP?

0 Answers  


what is input pramater out output pramater ?i want the decrepation..?how to use in QTP?

3 Answers   Infinite Computer Solutions,


I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process.

3 Answers   TCS,


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

0 Answers  


Categories