Micro Focus QTP (UFT) Forums
Desktop Applicatio - 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: Desktop Applicatio (/Thread-Desktop-Applicatio)



Desktop Applicatio - nadirkhan - 07-26-2011

I am trying to test a desktop application. I start recording and then enter a username and password that logs into the application and then I close the application and stop the test. I then click on the username in the VALUE column and the Value Configuration Properties open up. Here I select the Parameter radio button and then enter UserName in the Name drop down list. Global Sheet radio button is also checked. I then click Ok.

In the Data Table under UserName I enter more user names. I then Save this test, but when I run it the following Object Error comes up.

Cannot identify the object "nkhan" (of class WinObject). Verify that this object's properties match an object currently displayed in your application

I am confused please help me with this. Thanks


RE: Desktop Applicatio - rajpes - 07-26-2011

I think you are changing object identification property values which is not correct.
Create a new test and set the text inside winedit from datatable as
Code:
winedit("logical name").set datatable("username","Global")



RE: Desktop Applicatio - vijaystayconnected@hotmail.com - 07-27-2011

Please check whether the recorded properties for all objects are added in Mandatory property fields under object identification.