02-28-2014, 12:40 AM
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:
Why does this fail when the script is checked in, and what can I do about it?
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?