Window recognization in Winrunner 8.2
I am facing a problem in Window recognization using Winrunner 8.2.
1) The Particular window is present in the GUI Map file and
Window is recognized from GUI map file
2) When we use a "win_wait_info" (tried with all properties such as "enabled","disabled","Focused","Displayed") or "set_window" statements for that particular window (Which is present in GUI map) in the TSL script and that script is executed the window is not recoginzed. It popped an error stating this window is not recognized click on hand button to recoginze the window or cancel.
However, If we use wait(); statement before "set_window" or "win_wait_info" in the script the window is recoginzed.
Could any body explain why is it happening?
Re: Window recognization in Winrunner 8.2
Sounds to me like the win_wait_info or set_window commands are not waiting long enough before moving on. If you set the seconds to wait longer then this should work, it is up to you to how long you set this as what is acceptable performance on your app. For example set_window("window_name", 50); will wait 50 secs so should work