Micro Focus QTP (UFT) Forums
Cannot identify the object - 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: Cannot identify the object (/Thread-Cannot-identify-the-object)



Cannot identify the object - rke08 - 03-12-2008

When I try to run my QTP test, I get an error Cannot Identify the Object "Save and Close". Verify that the object's properties match an object currently displayed in your application.

Save and Close is a Link Button. Page is developed using JSP.


RE: Cannot identify the object - Ankur - 03-12-2008

You need to provide full details. Please read the posting guidelines.


RE: Cannot identify the object - Velu - 03-12-2008

Hi,

your Problem is with (OR)

Check with your Object Repository whether the object's are their or not.

(or)

Use Smart identification to check for the Objects

you need to provide the detail information in the OR for system will recognise your objects


RE: Cannot identify the object - FredMan - 03-14-2008

Use the WaitProperty method to wait for the object to appear. QTP help has more on this subject.


RE: Cannot identify the object - sreekanth chilam - 03-14-2008

Check whether the link's "text" property value is varying dynamically....

If that is the case..u may get the above error msg too...

Just apply regular expression and see...i hope ur problem will be solved.


RE: Cannot identify the object - Cpt.Zack - 03-15-2008

1) Are you sure that you have captured the object???
2) If you have captured the object,then retrace the object hierarchy in your repository and compare it to the one displayed on your screen.
3) If these two are different, you might be dealing with a dynamic object where its mandatory properites are inconsistent(they keep changing). In such a case, choose a property that remains constant and make that as your identifying property(mandatory)and deselct all other properties.

Reply back If this doesnt help......we'll see what the other options are.


Cannot identify the object - chundi kiran kumar - 03-17-2008

HI 2 ALL
unable to assign set option

displaying message as given below

object doesnt support this property or method 'window[..].winobject[..].set'


RE: Cannot identify the object - sreekanth - 03-17-2008

Hey ,
you can't use set since winobject dosent support it ,
instead use "type"


RE: Cannot identify the object - chundi kiran kumar - 03-20-2008

hi srikanth
thanx for ur reply
Do qtp needs add in
to run .net application


RE: Cannot identify the object - newqtp - 03-20-2008

Yes QTP need .net add in for running .net application