I have written some script in QTP and i added those objects
in Object Repository. All written script has been executed
successfully. After few days when i tried to execute the
same script i got error message "objects not found in Object
Repositiry". How can we solve this issue?

Answers were Sorted based on User's Feedback



I have written some script in QTP and i added those objects in Object Repository. All written scrip..

Answer / anil

ya fine,the script was executed sucessfully at the time of
writing the code after some days in the application the
object properties may change by the developer so due to
that reason it is getting the error..

note--there is no rule the object properties didn't change
so due to that error is coming..by opening the object
repository window then u can click on the update from the
application icon then it is updated so that u can run your
code sucessfully....

Is This Answer Correct ?    5 Yes 0 No

I have written some script in QTP and i added those objects in Object Repository. All written scrip..

Answer / pravati

u can check the object property in object repository and add or remove the wanted properties which are newly developed or coded for these objects.

Is This Answer Correct ?    0 Yes 0 No

I have written some script in QTP and i added those objects in Object Repository. All written scrip..

Answer / gangadhar

first associate the repository to the script and run the script

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?

3 Answers   CTS,


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

0 Answers  


What are the different ways to invoke an application using QTP?

0 Answers  


describe some problems that u had with automating testing tool?

0 Answers  


How can we use regular expressions for a table in web page, each cell in table having unique identification, Now I want to count number of rows in table and enter data in all cells of the table?

1 Answers   CTS,


DIFFERENT RUN MODE IN QTP..1-VERIFY MODE 2-UPDATE MODE 3- dEBUG MODE. My question is in whic sitution we use these modes Explain me with example

1 Answers  


1. how can you handle exceptions without using recovery scenario?

5 Answers   TCS,


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

0 Answers  


Can any one please explain hwo to test client/server application using QTP?

3 Answers   Patni, Value Labs,


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

0 Answers  


If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?

7 Answers   Covansys,


I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?

1 Answers  


Categories