SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    object not recognized and unspecified error(qtp 9.



    Hi all

    I am working with a web application and in our framework we add objects in the repository but the problem object are not recognised at times eg. if initially if the objects are available in browser(answers),page(answers).webtable(xyz) it will recognize if the run the same script after sometime the same object will not be recognized ,again it needs to be added which will appear as browser(ansers_2).page(answers).webtable(xyz) ,the old will not work ,please let me if something needs to be done or can be done.Also i get an error message as unspecified error if i run the script in normal mode if the do the same in line by line it will not show any error. Please let me know if i am doing anything wrong.

  2. #2
    Junior Member
    Join Date
    Jan 2007
    Location
    maharashtr, India.
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: object not recognized and unspecified error(qtp 9.

    The properties of Controls Residing in the OR are not consistent hence your script is facing Object Identification isues.

    1. Please configure Object Identification with properties that are stable for the controls.

    e.g. Name for Webbutton; URL's for Browser and like-wise

    2. Make sure that if there are varying string in the Property across Run Smart Identfication is enabled/REqulirize the property in OR.

    Regards,
    Nawab

  3. #3
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: object not recognized and unspecified error(qt

    See what is changing in the two browser when a new object is getting created.

  4. #4
    Junior Member
    Join Date
    Nov 2007
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: object not recognized and unspecified error(qt

    Hi Sankhu,
    1)Open the web application. Navigate to the page whose object is not recognised. Make sure that the object whose properties are not recognised is on that page.
    2) Open QTP. Click on the object repository icon. Object repository window is opened.Locate the browser and page in the object repository where the object resides.Click on that browser. Click on the "Add Objects" icon.this will take you to your web apllication. Click on the object that is not reconised. This will add the object to your repository and the script will be running good.

  5. #5
    Junior Member
    Join Date
    Nov 2006
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: object not recognized


    hi all

    In my application object properties are not changing,properties are same but it is not recognising i am using shared repository, eg. browser(1).page(1).frame.obj is the first name in the repository , when it is not recognizing i add the object newly it will appear as browser(1).page(2).frame.obj so initially i use to cut the new object and paste the new object inthe old place after deleting the old one ,it use to work fine , now it is not working ,i guess it has something to do with some settings of object repository .Please let me know if anyone of u have faced this issue.

    thanks to eveyone

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:29 AM.

Copyright BetaSoft Inc.