Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script
#1
Solved: 11 Years, 3 Months, 1 Week ago
I ran my script and this error keep on popping up. Here is part of the script;
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
#2
Solved: 11 Years, 3 Months, 1 Week ago
I found what the problem was. Actually the problem was that I have extra space between the variable and dot maximize. The problem was gone as soon as I got rid of the space re-run the script and turned on the recording. Thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)