HI,I am new to this program and I couldnt get windows loop to do what i want.this is the problem, I want windows loop to keep on reloading "Page not found" webpage until that error message is gone.And how do I declare windows title to a variable?is it possible to do that with windows loop or is there another funtion in the program for it?I tried couple of time but no luck!A help would be appreciated!thanks
How to do Windows Loop
How to do Windows Loop
Last edited by nitro2k01 on Tue Jul 25, 2006 3:48 pm, edited 1 time in total.
How to do Windows Loop
"Window loop" enumerates all windows in your session by specified criteria. In your case I advice the following algorithm:
Simple loop (from 1 to 100) // for example
If {WindowExists(Page not found)} = true then
Send keystoke "F5" to window "Page not found"
pause 5 sec
else
break
end if
end loop
Thus, you have 100 attempts each 5 seconds. If window is not found your task will be finished.
Simple loop (from 1 to 100) // for example
If {WindowExists(Page not found)} = true then
Send keystoke "F5" to window "Page not found"
pause 5 sec
else
break
end if
end loop
Thus, you have 100 attempts each 5 seconds. If window is not found your task will be finished.