|org.eclipse.swt.browser.ProgressListener problems [message #448035]
||Mon, 27 December 2004 22:36
| Tom Cunningham
Registered: July 2009
I'm trying to use the SWT Browser widget to make my own browser automation |
tool. The Browser widget seemed like an excellent way to do these types
of Smoke tests because the code I write will not only be mostly portable
across platforms, but also across browsers.
I'm having troubles with the org.eclipse.swt.ProgressListener on Windows
using IE. I implemented a ProgressListener with both changed() and
completed() and I'm running into problems because for a certain page I'm
loading, the completed() listener gets called four or five times. The
page has a number of frames and <div>'s, so I am guessing that there is
some issue with the parsing.
that are dependent upon the entire page being loaded. Rather than wait
for the xth completed(), is there a good way to just wait for five
seconds? Thread.sleep() seems to block the browser from rendering
anything. Would a java.util.Timer/TimerTask work?
Powered by FUDForum
. Page generated in 0.01891 seconds