Menu

#41 infinite loop in IE7/Vista-Environment

open
nobody
None
5
2010-03-03
2010-03-03
Anonymous
No

Environment:
IE 7.0.6002.18005
Vista 32Bit 6.0.6002

Code:
public class HelloWatij {
public static void main(String[] args) throws Exception {
Debug.setDebug(true);
IE ie = new IE();
ie.start("http://www.google.com");
ie.textField(name, "q").set("Watij");
ie.button("Google-Suche").click();
}
}

Result:
This program opens 2 (!) IE-Browsers.
One with an empty page, the other one with the Google-Website.
The console shows the following debugoutput in an infinite loop:
navigating
navigating
navigating
navigating
...

I have the same example written in ruby and watir. It works.

Discussion


Log in to post a comment.

Auth0 Logo