![]() |
|
Object not found in object repository Even it exists There - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Object not found in object repository Even it exists There (/Thread-Object-not-found-in-object-repository-Even-it-exists-There) |
Object not found in object repository Even it exists There - Rohit - 03-21-2011 I am getting one error that The "customer[mobile_number]" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object. on following line OF Code Code: StrMobileNO = Browser("mySite").Page("mysite").WebEdit("customer[mobile_number]").GetTOProperty("Text")i have make sure that in object repository The object "customer[mobile_number]" does exist. Can any one tell me i mistake i m doing RE: Object not found in object repository Even it exists There - basanth27 - 03-21-2011 Few things you should try - 1.from the OR select the object and perform the higlight in the application. It should throw the same error. Does it? 2. Let me be nostradamus for the moment and predict that it does. Add the object and see what is the property which has changed? Lets sail a bit before we dock at the shore. RE: Object not found in object repository Even it exists There - Rohit - 03-21-2011 I have done what You said But its does not throw any error on doing that RE: Object not found in object repository Even it exists There - basanth27 - 03-21-2011 aah..i was expecting the bad news. Well, does the webedit object gets higlighted when you do that ? Are there multiple instances of the same application open? would you attach a spy shot of the webedit object. That would be helpful. RE: Object not found in object repository Even it exists There - Rohit - 03-21-2011 The problem is resolved .I just created New Test and used the same script This time it worked .may be I had created duplicate Object By mistake and it was messed up. |