GUI testing

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

GUI testing

kintel
Administrator
Hi all,

I just noticed that Squish from Froglogic (http://www.froglogic.com/products/index.php) is available for free (as in beer) for Open Source KDE applications. I assume that means using KApplication, plus possibly some other minor things.

Anyway, that means we could look into how to do some automated GUI testing, which would make it a lot easier to mess around and refactor the GUI. This is probably some work to set up, and could (should?) be done separately from the regression test framework. If anyone is interested to dig into this, I can try and get us a license, and collaborate on getting this up and running.

Cheers,

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: GUI testing

clothbot
Looks like Squish needs a "Runner" license just to run the tests, which could get complicated fast with all the Windows and Linux platform support coming from "everywhere".

It does say "No additional licenses are needed setting up batch testing or unattended execution of Squish test cases."  That could mean "anyone can run batch tests anywhere without needing any licenses" or it could mean "you need at least a Tester license present to run batch tests."  The former could be ok; the latter not so much.

I'm not a frequent enough QT coder to be familiar with it, but perhaps the existing QTestLib framework infrastructure could/should be used for this?  

Andrew.

On 2011-12-27, at 5:30 AM, Marius Kintel wrote:

> Hi all,
>
> I just noticed that Squish from Froglogic (http://www.froglogic.com/products/index.php) is available for free (as in beer) for Open Source KDE applications. I assume that means using KApplication, plus possibly some other minor things.
>
> Anyway, that means we could look into how to do some automated GUI testing, which would make it a lot easier to mess around and refactor the GUI. This is probably some work to set up, and could (should?) be done separately from the regression test framework. If anyone is interested to dig into this, I can try and get us a license, and collaborate on getting this up and running.
>
> Cheers,
>
> -Marius
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/



Reply | Threaded
Open this post in threaded view
|

Re: GUI testing

kintel
Administrator
On Dec 27, 2011, at 15:45 PM, Andrew Plumb wrote:

> The former could be ok; the latter not so much.
>
I guess we would get a license which will technically only run against a KDE application, and not actually bound to a developer. This might of course mean that we cannot distribute this without going through froglogic for each additional developer. Of course, this might be tricky for platforms without a KDE port..

> I'm not a frequent enough QT coder to be familiar with it, but perhaps the existing QTestLib framework infrastructure could/should be used for this?  
>

AFAIK, that's a unit test framework, not a GUI testing framework.

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: GUI testing

clothbot

On 2011-12-27, at 1:35 PM, Marius Kintel wrote:
> On Dec 27, 2011, at 15:45 PM, Andrew Plumb wrote:
>> The former could be ok; the latter not so much.
>>
> I guess we would get a license which will technically only run against a KDE application, and not actually bound to a developer. This might of course mean that we cannot distribute this without going through froglogic for each additional developer. Of course, this might be tricky for platforms without a KDE port..
>
>> I'm not a frequent enough QT coder to be familiar with it, but perhaps the existing QTestLib framework infrastructure could/should be used for this?  
>>
>
> AFAIK, that's a unit test framework, not a GUI testing framework.


Ah, I see what you mean.  Yes you can send mouse and keyboard events to QT GUIs with it - http://doc.qt.nokia.com/4.7/qtestlib-tutorial4.html - but it's not testing the UI from the outside.

Andrew.

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/



Reply | Threaded
Open this post in threaded view
|

Re: GUI testing

donbright
In reply to this post by kintel
I will try to help with testing, but I haven't been able to find
anything about Free Beer Squish KDE on their website. The last thing i
saw was from like 2007?

-DB


On Tue, Dec 27, 2011 at 4:30 AM, Marius Kintel <[hidden email]> wrote:

> Hi all,
>
> I just noticed that Squish from Froglogic (http://www.froglogic.com/products/index.php) is available for free (as in beer) for Open Source KDE applications. I assume that means using KApplication, plus possibly some other minor things.
>
> Anyway, that means we could look into how to do some automated GUI testing, which would make it a lot easier to mess around and refactor the GUI. This is probably some work to set up, and could (should?) be done separately from the regression test framework. If anyone is interested to dig into this, I can try and get us a license, and collaborate on getting this up and running.
>
> Cheers,
>
>  -Marius
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad

Reply | Threaded
Open this post in threaded view
|

Re: GUI testing

kintel
Administrator
On Dec 28, 2011, at 03:59 AM, Don Bright wrote:

> I will try to help with testing, but I haven't been able to find
> anything about Free Beer Squish KDE on their website. The last thing i
> saw was from like 2007?
>
I'll shoot them an email in January to check what the current state is.

 -Marius