Micro Focus QTP (UFT) Forums
Object identification Issue - 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 identification Issue (/Thread-Object-identification-Issue--4820)



Object identification Issue - vijayendra.shukla - 05-06-2011

Hi,

I am troubled with a weird kind of object not found error. I have this object in my repository (checkboxes and radio buttons) which is not identified by QTP while executing the script. But when I stop the script run and by opening OR click on the object and then "Highlight in the application" button it highlights the object on the application. It does not identifies it during run time. I do not understand why is it so????

I have used html id/name properties of these checkboxes and radio buttons. I have parameterized it as well, as there is some numerical value which keeps on changing.

but strange is that it clearly identifies the object while script is not running.

Any help in this regard would be highly appreciated. Thank you!


RE: Object identification Issue - supputuri - 05-07-2011

Hi,
I bet you have used regular expression and I saw some cases with QTP 10 where we use regular expression, we are facing this situation. Checkout, it should work once you remove the regular expression.
You can use "SetTOProperty" to set the value without using regular expression.

Let me know your output.


RE: Object identification Issue - vijayendra.shukla - 05-07-2011

Thanks for your response mate!!!

Ok, but while using SetTOProperty I will have to use regular expression for the value, am I right?