[Gammaray-interest] GammaRay for UI testing automation

Volker Krause volker.krause at kdab.com
Wed Jun 13 17:47:15 CEST 2018


Hi Christian,

thanks for the feedback.

Regarding Squish, we use that a lot too, and conceptually GammaRay and Squish 
indeed work very similarly when interacting with the application under test, 
using the same introspection and tracking mechanisms etc. 

So technically it's of course conceivable to implement test automation tooling 
using GammaRay as a starting point, but that would still leave massive gaps 
such as object identification and mapping, or the scripting integration.

Since that's quite some work, and Squish has done all that already we try to 
not duplicate that in GammaRay and focus primarily on debugging workflows 
there. But of course that's not always a clear-cut line, so we probably need 
to look in more detail at what changes you have in mind.

Regards,
Volker

On Friday, 8 June 2018 12:47:09 CEST Christian Gagneraud wrote:
> Hi there,
> 
> First thing first: GammaRay is awesome, congrats for the tool, and
> congrats for making it Open Source.
> 
> I use GammaRay every now and then to investigate and understand our
> (heavy) Qt apps.
> 
> We use as well Squish [1] for UI test automation. It does the job (BDD
> tests and python), but i'm unhappy with it in several (technical)
> aspects.
> So I would like to investigate if GammaRay server could be use in
> place of a Squish server.
> 
> If I had to write a proof of concept, i would have to look at
> implementing, on the client side:
> - Object query (class name, object name, property values, object hierarchy)
> - Object remoting (properties, signal and slots)
> - event injection (keyboard, mouse, touch screen)
> - event/signal call backs
> 
> To start with, a console application that uses some of the above
> features would do, eg find some objects click on them, check a dialog
> pops-up, and it that contains a given text.
> I would as well certainly use a local, dummy/simple application under
> test that would be controlled using the process launcher but will
> ultimately look at remote attached application running on embedded
> devices.
> 
> Do you think these sort of things are doable with gammaray + custon
> client? Or am I wasting my time and the required features are out of
> scope of what GammaRay is/provides?
> 
> Thanks a lot,
> Chris
> 
> [1] https://www.froglogic.com/squish/
> _______________________________________________
> Gammaray-interest mailing list
> Gammaray-interest at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/gammaray-interest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4664 bytes
Desc: not available
URL: <http://mail.kdab.com/pipermail/gammaray-interest/attachments/20180613/23b42f69/attachment.p7s>


More information about the Gammaray-interest mailing list