[PyQt] recommendations for automatic testing of pyqt applications

Giuseppe Corbelli giuseppe.corbelli at copanitalia.com
Wed Jul 25 08:14:09 BST 2012


On 24/07/2012 23:03, Gelonida N wrote:
> 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.

If I understand correctly you want to test the full application with an
external entity. I don't know anything under *nix, but for win32 you may try:
http://code.google.com/p/pywinauto/
http://code.google.com/p/swapy/

-- 
            Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318  Fax: +390302659932
E-mail: giuseppe.corbelli at copanitalia.com


More information about the PyQt mailing list