Jump to content

Help with IE automation control


unity06
 Share

Recommended Posts

Hi guys,

I am learning how to automate IE with autoit and ran into a problem

I want to click onto this email which is shown on this page. But I do not know how to do it.

Can someone please help me? How can I simulate a click on that email shown in screenshot.

help_with_ie.jpg

Link to comment
Share on other sites

How are you going to determine what you want the script to open? A certain subject? For example, if subject is "Test", you want it to open?

You will need to look at _IETagNameGetCollection. Set it to something like

$subjects = _IETagNameGetCollection($oIE,"div")

Then you could do something like

;;not tested, but could be a start


For $subject in $subjects
    If String($subject.className)="subject ng-binding" Then
       If _IEPropertyGet($subject,"innertext") = "Text" Then
   ; execute whatever you're trying to do
       Endif
    Endif
    Next

Maybe that will help.

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...