Making FEST to wait for the application to load
问题 I am new to FEST based GUI Testing. MyFrame is the root class for my application. @Before public void onSetUp() { MyFrame frame = GuiActionRunner.execute(new GuiQuery<MyFrame>() { protected MyFrame executeInEDT() { return new MyFrame(); } }); frame2 = new FrameFixture(robot(), frame); frame2.show(); // shows the frame to test } When I run the test case, @Test public void testGui() { String rs = frame2.label("hl").text().toString(); assertTrue(rs.equals("First")); } The above method doesn't