Jump to content

Click on button of a Qt application

Recommended Posts

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:


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...