Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 03-15-2008
Contributing Member
 
Join Date: Mar 2008
Location: Pune
Posts: 30
Thanks: 0
Thanked 13 Times in 8 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 2 Users Say 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: 208
Thanks: 3
Thanked 19 Times in 19 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 54 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: 910
Thanks: 12
Thanked 108 Times in 76 Posts
jainbrijesh will become famous soon enoughjainbrijesh will become famous soon enough
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
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


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 10:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved