[PyQt] recommendations for automatic testing of pyqt applications

Daniel Goertzen daniel.goertzen at gmail.com
Wed Jul 25 12:57:43 BST 2012


I use squish for testing a pyqt app and it works very well:

http://www.froglogic.com/squish/gui-testing/

Dan.

On Tue, Jul 24, 2012 at 4:03 PM, Gelonida N <gelonida at gmail.com> wrote:

> Hi,
>
>
> Im having a self written pyQT applciation.
>
> Now I wondered how I could easiest apply automated test.
>
> Something like:
> - start application
> - wait till a certain scren is visible.
> - check now, that five buttons are visible and check that
>   two of the buttons are grayed out.Check also that each button has a size
> greater than a given specified size and that the buttons are aligned.
> - then click one button and verify, that a dialog pops up.
>
>
> Not having done automated testing of a PyQt APP I wondered whether
> something like above descriped test could be implememnted
>
>
> Is there a way to determine at any given moment what widgets are visible
> and which coordinates they have?
>
>
> Would there be any way to just log or monitor all widgets and the signals
> they emitted?
>
>
> Is there any existing testing framwork for such tasks or would I have to
> start from scrratch.
>
> Thanks a lot for any info / suggestions.
>
> ______________________________**_________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.**com/mailman/listinfo/pyqt<http://www.riverbankcomputing.com/mailman/listinfo/pyqt>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120725/9095c432/attachment.html>


More information about the PyQt mailing list