Sign in to follow this  
Followers 0
Neto_new

Click on button of a Qt application

1 post in this topic

I'm trying to click on button of a Qt application with AutoIt controlClick function from my C# application. From what I've see on Ranorex spy tool, the caption is Iniciar gravação so I wrote this code:


 

bool ok = AU3.ControlClick("my window lol", "", "[TEXT:Iniciar gravação]", "left", 1) != 0;

But it doesn't click on anything. The my window lol does exist as the FindWindow() return the proper handler, so I guess the issue is in the [TEXT:Iniciar gravação] value.

 

Why it isn't working and how do I fix this?

 

Here's the class and dll I'm using:

https://dl.dropboxusercontent.com/u/10479535/AutoItX3.zip

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0