Jump to content
Sign in to follow this  
RoAndrei

Clicking this kind of button in IE

Recommended Posts

So, how should i click this button in an IE form created with autoit , if it has no name/id whatever.

The button opens a subwindow to a login form, and it looks like this :

CFNme.png

Share this post


Link to post
Share on other sites

Have a look at this topic: >link

I know it is by class name. But using _IETagNameGetCollection you can do the same kind of for loop to get all the "span" tags.

Then, you can check by using the name dot notation (ex: $tag.name) to get whatever string that span element is holding.

Then by checking for which one says log in, you can then specify that element and use _IEAction to click on that element.

Hope that helps. :)


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Post your script so we can take look. :)


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Already deleted it and trying now with controlclicks, the whole codes just clicks that login button , enter the user and pass and submits, nothing more right now. So there is no code, sorry 

Share this post


Link to post
Share on other sites

I learned something too. ;)

$tag.InnerText

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

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  

×
×
  • Create New...