Prepare for your Next Interview
This is a discussion on What does QTP do if a run time object doesn't match with any object in repository? within the QTP forums, part of the Software Testing category; What does QTP do, If a run time object doesn't match with any object in Repository?...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| The Following User Says Thank You to chennaprashanth For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: What does QTP do if a run time object doesn't match with any object in repository
There is an error popup of "Object not found in Object Repository".
Note: The Error Message is a standard one with Logical Name of the object. |
|
|||
|
Re: What does QTP do if a run time object doesn't match with any object in repository
If the object does not exist in the OR at all, then yes, what Nawab said.
But if the Object exists and the run-time properties changed, noting it a Web-App, it depends on the (on/off) status of Smart Identification and the way it has been set up. |
|
|||
|
Re: What does QTP do if a run time object doesn't match with any object in repository
Quote:
Answer:- Nothing if you have no action statement for that object. And if you have a test object, on which some method is defined then QTP try to identify the respected run time object, and If it is unable to verify, it will use smart identification with optional properties to identify it and use the ordinal no. if required. If it found no unique property, then it will give error msg, unable to identify the object.
__________________
Brijesh Jain brijesh.tester@yahoo.co.in http://softwaretestingexpertise.blogspot.com |
|
|||
|
Re: What does QTP do if a run time object doesn't match with any object in repository
Hi
QTP will throw and error and Error will be "Object Not Found". Also if you have not instructed QTP to handle such situations that QTP will do nothing and will just throw an error. Cheers SYCHO Certified HP QuickTest Professional 9.2 Software |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Verify that this objects properties match an object currently displayed | workhomes | QTP | 2 | 12-21-2007 02:41 AM |
| Run-Time Object & Test Object in QTP | ramyamca1984 | QTP | 2 | 12-17-2007 11:00 AM |
| I cannot add a object as winmenu to object repository | carina | QTP | 2 | 12-05-2007 06:01 AM |
| Reference to an object in object repository | Geek_Guest | QTP | 0 | 09-24-2007 07:45 PM |
| Per-action repository and shared object repository | Geek_Guest | QTP | 1 | 06-22-2007 05:29 AM |