jiggypiggy Posted November 8, 2011 Share Posted November 8, 2011 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? Link to comment Share on other sites More sharing options...
sleepydvdr Posted November 9, 2011 Share Posted November 9, 2011 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> 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