Jump to content

Help with clicking a button inside a popup


xenaree
 Share

Recommended Posts

Hi all, i'm facing this problem when i can't find a way to click this "OK" button (the blue one).

The' application i'm automating is the web application of the microsoft dynamics.

This is the popup :

image.thumb.png.2e53766b94ca8800edb475829003740f.png

 

I click a button from the parent window and this new window appears with the popup. I'm trying to click the OK button to close the popup

This is what the Autoit windows info gave me :
image.png.80a3b0f2a0053f3b94fbae60d3cef27e.png

As you can notice, there isn't a Class:Button the summary.

The auto.MouseClick("LEFT", 1145, 185) works butit is not a good idea.

Also, i tried with 

var auto = new AutoItX3();
auto.WinActivate("Requeteur Oeuvre : Créer Requeteur Oeuvre - Google Chrome");
auto.Send(Keys.Enter);

The WinActive loses focus quickly.

 

Thank you for you help :D

 

 

 

 

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...