Hi Friends,

I worked with 8.2 not with 9.2. Please help me in this prob.

I created one script and recorded some think and save as
Test 1 then I opened process--open the object repository
manager. Switch to file->save->give some name->save as
Objectrepo1.tsr file. (This is the global repository file.)
Then I went to object repository->tools-> associate
repository ->click + icon ->open the previously saved
Objectrepo1.tsr file. This is the global repository

Now I created one more script and save as Test 2. In this
script I am calling script with the Help of "Call of
existing action" and I executed but QTP is not able to
execute B’cos it is QTP is not able to read the Object
Repository of Test 1.

Please let me know why?

Once I made Script 1 as a shared Obj. Repository so it
would not give any Problem. Right?



Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one s..

Answer / Naveen Dev Verma

The issue seems to be due to QTP not recognizing the Object Repository of Test 1 in Test 2. By making Script 1 a shared Object Repository, you can ensure that it's accessible across multiple tests. To fix the current problem, you could try saving Objectrepo1.tsr as a shared object repository (File -> Save As -> Shared Object Repository) and then associate it in Test 2.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

5 Answers   Ordain Solutions,


how do u prepare Test Environment ?

1 Answers  


write a test script in QTP to test the text that written in an image(i.e jpg)of a web page???

0 Answers  


plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH

7 Answers   TCS, Wipro,


what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766

2 Answers  


What is the difference between qtp and selenium?

1 Answers  


1)What is the Difference Between WaitTo & Sync?

4 Answers   Wipro,


What are software testing metrics

3 Answers  


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1 Answers   IGI,


How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?

4 Answers   Wipro,


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


I am using DataTable.ImportSheet method to import the data from an excel sheet to the Runtime DataTable of QTP. here is my piece of code DataTable.import("c:\DataSheet.xls","Members","Members") The first row headings of Members sheet of DataSheet.xls and Members sheet of QTp are matched. but the QTP is taking very long time(approximately half an hour) to import the data into runtime datatable even though the DataSheet.xls has one or two rows in it. Please let me know why this is happening and is there any alternative for impoting the data into runtime datatable of qtp ?

2 Answers  


Categories