Results 1 to 5 of 5

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

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Answers
    24

    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?


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    211

    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.


  3. #3

    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.


  4. #4
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    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.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  5. #5
    Contributing Member
    Join Date
    Nov 2007
    Answers
    48

    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



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact