You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Bruce Alspaugh <al...@gmail.com> on 2010/03/26 15:38:53 UTC

Functional GUI Testing

There are lots of GUI testing frameworks based on java.awt.Robot that
can be used for functional testing of Swing applications:  FEST,
Abbot/Costello, Jemmy, Marathon, UISpec4J, etc.

Does something similar exist for Pivot?

Bruce

Re: Functional GUI Testing

Posted by Sandro Martini <sa...@gmail.com>.
Hi to all,
maybe this could help to have some info on this theme (automation /
automationID):

http://www.mail-archive.com/pivot-dev@incubator.apache.org/msg03278.html

this ticket has been resolved in Pivot 1.4.

Greg should have more info on this.

Most of GUI Testing frameworks are Swing oriented, so maybe also this
feature could not be enough. 
For Web Testing I use Selenium but probably also this will have problems
referring to Applet / Applications ID.

Maybe you can try Sikuli (it works in a different way), from here: 
http://groups.csail.mit.edu/uid/sikuli/

Good luck.

Bye,
Sandro

-- 
View this message in context: http://n3.nabble.com/Functional-GUI-Testing-tp676616p676660.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Functional GUI Testing

Posted by Noel Grandin <no...@gmail.com>.
Most of these frameworks tend to work by looking inside the Swing object
hierarchy and/or using ID's stashed inside the Swing objects.

So they'd need porting or some kind of shim layer to work with Pivot.

-- Noel

On 2010-03-26 16:43, Greg Brown wrote:
> Haven't used them myself, but is there any reason these frameworks couldn't be used to test a Pivot app? Pivot uses Java2D, just like AWT and Swing, so they may simply work.
>
> If you do look into it, I'd be interested to know what you find out.
>
> On Mar 26, 2010, at 10:38 AM, Bruce Alspaugh wrote:
>
>   
>> There are lots of GUI testing frameworks based on java.awt.Robot that
>> can be used for functional testing of Swing applications:  FEST,
>> Abbot/Costello, Jemmy, Marathon, UISpec4J, etc.
>>
>> Does something similar exist for Pivot?
>>
>> Bruce
>>     
>   


Re: Functional GUI Testing

Posted by Greg Brown <gk...@mac.com>.
Haven't used them myself, but is there any reason these frameworks couldn't be used to test a Pivot app? Pivot uses Java2D, just like AWT and Swing, so they may simply work.

If you do look into it, I'd be interested to know what you find out.

On Mar 26, 2010, at 10:38 AM, Bruce Alspaugh wrote:

> There are lots of GUI testing frameworks based on java.awt.Robot that
> can be used for functional testing of Swing applications:  FEST,
> Abbot/Costello, Jemmy, Marathon, UISpec4J, etc.
> 
> Does something similar exist for Pivot?
> 
> Bruce