Our application is some time very slow and when executing the script,if the required window takes more time to load.In such situation it is giving error unable to attach the window.
we can't give pause or wait to avoid this situation because it takes more time when the application is fast.
please help me to come out of the situation
Thanks in advance
Try getting help on the 'Wait Method'. This is a classic case of script syncronization.
Thurst yourself into the wheel of madness and action in search of the center. Once you find the center, you cannot be moved.
Wait is not really the optimal way to deal with this. Look at some of the timing options and adjust as required.