Geeks Talk

Prepare for your Next Interview




What does QTP do if a run time object doesn't match with any object in repository?

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?...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-15-2008
chennaprashanth's Avatar
Contributing Member
 
Join Date: Mar 2008
Location: Pune
Posts: 30
Thanks: 0
Thanked 9 Times in 7 Posts
chennaprashanth is on a distinguished road
Question What does QTP do if a run time object doesn't match with any object in repository?

What does QTP do, If a run time object doesn't match with any object in Repository?
Reply With Quote
The Following User Says Thank You to chennaprashanth For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 03-17-2008
Expert Member
 
Join Date: Jan 2007
Location: India
Posts: 180
Thanks: 3
Thanked 13 Times in 13 Posts
NawabShaikh is on a distinguished road
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.
Reply With Quote
  #3 (permalink)  
Old 03-18-2008
Moderator
 
Join Date: Oct 2007
Location: Frankfort, KY
Posts: 283
Thanks: 3
Thanked 51 Times in 36 Posts
Anshoo_Arora is on a distinguished road
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.
Reply With Quote
  #4 (permalink)  
Old 03-19-2008
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 866
Thanks: 12
Thanked 81 Times in 65 Posts
jainbrijesh is on a distinguished road
Re: What does QTP do if a run time object doesn't match with any object in repository

Quote:
Originally Posted by chennaprashanth View Post
What does QTP do, If a run time object doesn't match with any object in Repository?
If a run time object doesn't match with any object in repository what QTP do?

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
Reply With Quote
  #5 (permalink)  
Old 03-28-2008
Contributing Member
 
Join Date: Nov 2007
Location: In my Home
Posts: 49
Thanks: 0
Thanked 9 Times in 4 Posts
Sycho is on a distinguished road
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
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 09:54 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved