AlexB Posted June 15, 2008 Share Posted June 15, 2008 Hi all I'm trying to automate a QT-based GUI application, but I have a problem. None of the windows spying tools (including AutoIt3 window info) can see into the controls of an application. For example, if I try to get an info about a button, I can see that it is a QWidget, and its control instance is 14; but I cannot see the text on the button (for example, "Save"). And it is important for what I'm trying to do. Is there any other way to get this information? Is there any other way to work with applications that I cannot get information about? Thanks a bunch Link to comment Share on other sites More sharing options...
junkew Posted June 15, 2008 Share Posted June 15, 2008 http://www.riverbankcomputing.co.uk/pyqt/As far as I know there is not much documented on sendmessages you can use to control QT.You can combine logic of OCR reading if you can easily can get to the area of the QT control. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
AlexB Posted June 15, 2008 Author Share Posted June 15, 2008 http://www.riverbankcomputing.co.uk/pyqt/As far as I know there is not much documented on sendmessages you can use to control QT.You can combine logic of OCR reading if you can easily can get to the area of the QT control.JunkewI thought PyQt is more like development framework. I need a testing one.What I'm looking for is like Squish (which is in fact recommended by Trolltech for testing) but, like, free.Thanks Link to comment Share on other sites More sharing options...
junkew Posted June 22, 2008 Share Posted June 22, 2008 search for OCR in the forum.As you can get to the area of the control the search area is limited.Alternative could be to compare against existing Bitmap.http://www.autoitscript.com/forum/index.ph...=66545&st=0 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now