Hello,
I am having a problem, and several others have reported the same
issue(Vista, IE7.0.6), my test case is the simple "open google and
search 'Watij' " example. When I call IE.start(url) I get two
windows, and cannot access any of the textfields(it just hangs after
getting the main google page, and getElements() throws an
watij.runtime.UnknownObjectException). If I call ie.start() and then
ie.navigate(url), it just hangs after getting the google site. If I
try ie.start(), then ie.goTo(url), again, it just hangs after getting
the google site.
My thoughts are that this is a security problem maybe? I know in
the beginning I had to adjust my IE settings to disable script
debugging to get it some pieces to work. I have used watij for awhile
now, and I know my code worked on XP/IE7. Just to remove any fat
finger issues with any of my code, I used your code for test(slight
variations on this code used for the tests as stated above), which
fails miserably.
IE ie = new IE();
ie.start("
www.google.com");
ie.textField(name,"q").set("Watij");
ie.button("Google Search").click();
Any help is greatly appreciated,
Scott Taylor