Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> Test-driven GUI development with FEST

Pages: 1
AthenAdministrator
journeyman


Reged: 06/05/07
Posts: 79
Loc: San Francisco, CA
Functional GUI testing with FEST
      #50480 - 07/17/07 01:23 AM

Share your thoughts about test-driven development, FEST, or this article: "Test-driven GUI development with FEST" (Alex Ruiz, JavaWorld, July 2007).

Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: Functional GUI testing with FEST [Re: Athen]
      #50910 - 07/23/07 10:24 AM

I've tried the examples and it looks like this could be very useful to me. Testing GUI's has always been a pain and this could lessen that. Is there anywhere with comprehensive documentation on using FEST?

Post Extras: Print Post   Remind Me!   Notify Moderator  
AthenAdministrator
journeyman


Reged: 06/05/07
Posts: 79
Loc: San Francisco, CA
Re: Functional GUI testing with FEST [Re: Anonymous]
      #50929 - 07/23/07 09:59 PM

Sure -- see the Resources section for "Test-driven GUI development with FEST." You'll find more articles listed there about FEST, TestNG-Abbot, and functional Swing GUI testing. Or go directly to the FEST homepage to download the FEST library and documentation.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Alex Ruiz
Unregistered




Re: Functional GUI testing with FEST [Re: Athen]
      #50975 - 07/24/07 01:58 PM

FEST home page has a "Getting Started" guide and links to the javadocs . Please let us know if you have any questions/comments/suggestions at the user's group

Best regards,
-Alex.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Alex_Ruiz
stranger


Reged: 07/25/07
Posts: 2
Re: Functional GUI testing with FEST [Re: Athen]
      #51017 - 07/25/07 01:08 PM

We just release a JUnit extension that allows developers to embed screenshots of failing GUI tests in JUnit HTML reports. For more info please click here.

Best regards,
-Alex.


Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: Functional GUI testing with FEST [Re: Alex_Ruiz]
      #51833 - 08/15/07 01:14 PM

I seem to get a ComponenetLookupException when i try to use FEST. below the code i'm trying to run. any ideas?

public class SimpleGUITestFEST extends TestCase
{
private FrameFixture frame;

public void setUp ()
{
frame = new FrameFixture (new MyFrame ());
}

public void tearDown ()
{
frame.cleanUp ();
}

public void testButton () throws Exception
{
if (frame == null)
System.out.println ("error: frame is null");

frame.button ("haha").click ();
}

private class MyFrame extends JFrame
{
private JFrame theFrame;

public MyFrame ()
{
theFrame = new JFrame ("Testing FEST");
JButton button = new JButton ("haha");
button.setName ("haha");
theFrame.getContentPane ().add (button);
theFrame.pack ();
theFrame.setVisible (true);
}
}

}


Post Extras: Print Post   Remind Me!   Notify Moderator  
Alex_Ruiz
stranger


Reged: 07/25/07
Posts: 2
Re: Functional GUI testing with FEST [Re: Anonymous]
      #51873 - 08/16/07 06:03 PM

You need to call frame.show() in setUp().

Unfortunately, I don't get notifications when comments are posted for the article. If you have questions, post them in the FEST Users' Group too. This way, you can get help faster

The link is http://groups.google.com/group/easytesting

Regards,
-Alex


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4948

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5