Micro Focus QTP (UFT) Forums
Object not found-description mismatch -Reason? - 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-description mismatch -Reason? (/Thread-Object-not-found-description-mismatch-Reason)



Object not found-description mismatch -Reason? - Akhila - 03-11-2008

Hi,

I have a small doubt regarding the error "description mismatch-object not found"
I found a warning in the QTP result with the following 'Original description'
Visible=-1 [What does this -ve number indicates?]
text=Save
html tab=A
but I confused after finding "html tab=B" for both Run time & test object properties under object spy.
How can I fix it when both of the properties are same? and also what the actual properties I need to check for in object spy?

Thanks in advance,
Akhila


RE: Object not found-description mismatch -Reason? - Ankur - 03-11-2008

visible is a boolean variable which can take two values True or False, 0 or 1.

I am not clear with the other part of your question.


RE: Object not found-description mismatch -Reason? - Akhila - 03-12-2008

Thanks Ankur.
Regarding my Question:
I found the following warning message in the Results
"cannot identify the object.Verify that object's properties match an object currently displayed in your application"
1) To fix the error do I need to compare runtime & test object properties using Object spy?
2) If I found any difference can I modify object properties in Reporsitory in order to match it with the run time properties?
Is it the correct process?

Thanks


RE: Object not found-description mismatch -Reason? - Ankur - 03-12-2008

ok...check (and fix) if there any mismatch between the recorded and run time property ....if you encounter a variable you might need to write a regular expression for it.


RE: Object not found-description mismatch -Reason? - nikhilshirke - 02-06-2009

hi ankur i m new for QTP 9.2 and i m also facing the same error can u plzz explain me how to come up with this ..