Sign in to follow this  
Followers 0
jiggypiggy

Save As - like dialog box pauses execution

2 posts in this topic

K, website I am automating has what looks like a button that when you click it, lets you upload a file. The class is #32770. Problem is, and I see this has been discussed quite a bit in the forums, execution pauses while this window is open. The best workaround I found suggested is giving the button focus then using controlsend to send the enter command. The issue I am having is the "button" does not appear to be "focusable". Not sure if this is a valid test, but I am unable to tab to the button. The info tool does not seem to recognize the button as the only thing that seems to change when I use it over the button vs other parts of the page is the contolclick coords. Anyone know of any other workarounds?

Share this post


Link to post
Share on other sites



Look at the web page's source code. Find the button and somewhere nearby should be an ID for the button. It may appear something like this:

<input type='submit' id='statusSubmitGlobal' class='ipsButton_secondary' value='Update' />

In the example above, you would refer to statusSubmitGlobal.


#include <ByteMe.au3>

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