My application throws different types of error and i have handled it using whenever statements.
when a particular error window pops up, i had handled it by making the script to close that window.
next i need to continue the task which caused that error. so i added a resume statement
the code resumes.. but it doesnot continue from the previous statement which created the error window..
i think resume don't fix it.. any other go..?
sub main

whenever "error window"

my code goes here...
say clicking a button here generates error window
code continues..
end sub

whenever's driver goes here..
if "error window" then
close it.
what i want to do is after closing that error window it has to click the button again ..