window cannot be set active.
I am running scripts. Sometime it gives me error as "Window caanot be set active"..It is very intermediate problem, occur once in a while.
Please give me suggestions to solve this issue.its ****** !!!
Re: window cannot be set active.
Print("Window does not exists.")
this will actually check weather that window exists for 10 seconds and then it will try to set active. some time if the application is not fully loaded or in process of getting loaded, this type of problem occurs. This code may solve the problem.