01-30-2008, 10:23 PM
I ran my script and this error keep on popping up. Here is part of the script;
Initially the window was set to minimized and maximized it later in the script to see the object, as soon as it hits the line where it says Window("Siebel Moore").Maximize. Below is the error message
"Cannot identify the object of class window. Verify that this object properties match an object currently displayed in your application". I checked as directed by the error message, make sure it is the same but when I run the script it error out at the same line. Please I need your help and advise on this issue. Thanks
Code:
'Minimize QTP for runtime
Set qtApp = CreateObject("QuickTest.Application")
qtApp.WindowState = "Minimized"
Set qtApp = Nothing
'Maximize window and set initial conditions
Window("Siebel Moore").Maximize
Initially the window was set to minimized and maximized it later in the script to see the object, as soon as it hits the line where it says Window("Siebel Moore").Maximize. Below is the error message
"Cannot identify the object of class window. Verify that this object properties match an object currently displayed in your application". I checked as directed by the error message, make sure it is the same but when I run the script it error out at the same line. Please I need your help and advise on this issue. Thanks