Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Cannot identify object" failure only when script is checked into QC
#1
Not Solved
I have a number of scripts that all begin by opening a window (no browser is involved). All of these scripts are in Quality Center. If I check out a script and run in, there's no problem. However, if I run the script while it's checked out, I get this error:

Cannot identify the object "[window]" (of class Window). Verify that this object's properties match an object currently displayed in your application.

Here's the line of code that triggers the error:

Code:
hWnd = Window("RegExpWndTitle:=QuickTest Professional").GetROProperty("hWnd")

Why does this fail when the script is checked in, and what can I do about it?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to identify Child Object for a window application created using C#. ssanjeev 3 6,211 03-27-2017, 05:38 AM
Last Post: ankita
  How to identify Jquery slider object and use the slider in QTP? axn700 0 2,677 10-22-2015, 12:03 PM
Last Post: axn700
  When UFT Does Not Identify an Object vinod123 4 7,383 06-20-2014, 02:44 PM
Last Post: vinod123
  How to get QTP to identify GEF object (Java) Jthomsen 0 2,386 08-02-2012, 06:13 PM
Last Post: Jthomsen
  QTP unable to identify FLex Object after setup. anand.shrivastava86 1 4,540 03-22-2012, 11:34 PM
Last Post: rameshrise3

Forum Jump:


Users browsing this thread: 1 Guest(s)