I have a related question, if I should create a different thread for that please tell me.
I had the similar problem. My code (most of it autogenerated):
w1 := Sys.Process('iexplore').Window('IEFrame', '*').Window('Shell DocObject View').Window('Internet Explorer_Server');
... press a button that redirects the page to a new one...
here w1.Wait doesn't seem to work. Is there something else I have to do? The Wait seems to return directly before the redirect.
The problem, I believe, between this and what you're doing is in the redirect. The Wait in my example is waiting for the page to load that my click is taking me to. However, in your case, your click takes you to a page that immediately redirects to another page. You may have to manually insert code to declare that new page as a Page object and call wait against that.
There are probably better Web Testing experts on here than myself but that's my best guess.
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure