qt support in Robotframework

2,669 views
Skip to first unread message

prasha...@gmail.com

unread,
Sep 10, 2013, 2:40:45 AM9/10/13
to robotframe...@googlegroups.com
Hi all,
We are developing a QT based application which will be a platform independent. Wanted to check, if Robot framework supports QT based windows application via AutoIt plug in? I tried Autoit spy on the qt application but I couldn't get any supported methods on QWidgets.
So, any help or info in this regard is highly appreciated.

Thanks,
Prashant

David

unread,
Sep 10, 2013, 3:56:51 AM9/10/13
to robotframe...@googlegroups.com
Try Sikuli? I believe there are a few Sikuli based test library projects for Robot Framework. I have one you can try


Obviously one might want to use image recognition based automation as a last resort though.

Might also want to look at other automation tools rather than AutoIt like the White GUI automation framework based on .NET/Windows accessibility.


I don't think there's a working White library for Robot Framework yet though.

theheadofabroom

unread,
Sep 12, 2013, 12:17:33 PM9/12/13
to robotframe...@googlegroups.com
While something like AutoIt of Sikuli may work - your best option would be to add an interface to QObject to allow you to interfere with its derived objects from outside the application, using something like RPC - you can then create an interface library for robotframework, which would allow you to trigger events such as button clicks, and monitor events such as widget updates.

This takes a bit more setup than using something off the shelf, but will give you a far more robust platform for running your tests - not to mention that AutoIt is Windows only AFAIK, and while Sikuli seems like a good idea, it is often a bit more hassle than it is worth to get something reliable.

Let me know if you'd like any advice on getting this sort of thing set up, as I am currently doing something similar for Unity3d.

PH

unread,
Apr 11, 2017, 4:49:02 AM4/11/17
to robotframework-users, alistair....@mindcandy.com
Hello there, I am now trying to test my qt applications using robot framework, could you please give me some advice? Thanks

在 2013年9月13日星期五 UTC+8上午12:17:33,theheadofabroom写道:

Tatu Aalto

unread,
Apr 11, 2017, 10:49:13 AM4/11/17
to mail...@gmail.com, alistair....@mindcandy.com, robotframework-users
Ugh

I think it depends what kind of qt application you are having. Not so long time ago, I reviewed​ a pull request[1] for Selenium2Library to better support qt applications.

If QtWebdriver is not part of your application, then also ImageHorizonLibrary​ could be one option.

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages