01: package com.canoo.webtest.extension.applet.jemmy;
02:
03: import java.net.MalformedURLException;
04: import java.net.URL;
05:
06: /**
07: * @author Denis N. Antonioli
08: */
09: public class WaitUrlInFrameTest extends WaitFrameTest {
10: ContextOperator.WaitFrame createFrameWaiter()
11: throws MalformedURLException {
12: return new ContextOperator.WaitUrlInFrame(
13: new URL(DOCUMENT_URL), WAITED_FRAME_NAME);
14: }
15:
16: public void testActionProduced() throws MalformedURLException {
17: super .testActionProduced();
18:
19: getContext().showDocument(new URL(DOCUMENT_URL + "index.html"),
20: WAITED_FRAME_NAME);
21: assertNull(getWaiter().actionProduced(getContext()));
22: }
23: }
|