Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Cannot identify object" on an object that used to be recognized
#1
Not Solved
Hi,

I am working with a test that someone wrote a month or two ago using QTP 10. The test used to run just fine on her pc until recently. It now consistently fails (still running on her pc) on the following line:

Code:
Window("AppName").Window("Tool").WinObject("WindowsForms10.SysListView32.a").Click 44,28
The Run Error is:

Cannot identify the object "WindowsForms10.SysListView32.a" (of class WinObject).

I re-recorded the "Click" action to check the properties of the newly recorded object against the object that had been working until recently and found the only difference to be the regexpwndclass property. The alphanumeric at the end of the property's value is different now.

Can someone please explain why this is the case? Also, other than re-recording a test when this situation arises, what can I do differently so that the test consistently functions from here forward?

One last related question. I have seen this issue happen in other tests when a test developed on one pc is run on a different pc. Why is this happening and how can I prevent it from doing so?

Thank you very much for your help.
amm
Reply


Messages In This Thread
"Cannot identify object" on an object that used to be recognized - by amm - 07-30-2010, 08:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Telnet command not recognized Sanjana1987 1 2,541 09-20-2017, 03:16 PM
Last Post: Ankur
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 4,098 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  Cannot identify the object "Webtable" korunu 1 2,865 06-29-2016, 05:28 PM
Last Post: Ankesh
  Cannot identify the object "Webtable" korunu 0 2,136 05-11-2016, 12:02 AM
Last Post: korunu
  When trying to recognize the object in QTP, each object is recognized as “WinObject:S geetasarvadnya 2 4,319 10-28-2015, 12:34 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)