Jump to content

IE : drop down list reading issue ...


Angelo55
 Share

Recommended Posts

Hi all,

I am facing the issue to grab on a Internet Explore existing web page.

I would like to know how to get the content (or just the current content) or text visible in a drop down list found into my web page. I would also scroll it down or up of one position and again get the new available content of it.

It could be great haveing the entire list of element in a shot, haveing the possibility to understand the number of total elements. I do not know the size of the drop down list : I just need to get the current content, match against a string I got as input to my automation, and set the element found if matched ...

Some thing for a combobox ...

Is it too difficult ??

Hi all and tnx for helping !

Angelo55

===================================================================

Link to comment
Share on other sites

#include <IE.au3>
#include <Array.au3>

Dim $sURL = 'http://www.peterlang.com/Index.cfm?vSiteName=JournalsDetails.cfm&vJournal=93500&vLang=E'
Dim $oIE = _IECreate($sURL)
Dim $oTag = _IETagNameGetCollection($oIE, 'select', 1)
Dim $Arr = StringRegExp($oTag.InnerText, '([^ ]* )', 3)
If IsArray($Arr) Then _ArrayDisplay($Arr)

Thank you very much...

This is my first attempt to manage IE forms rather windows applications ..

Bye !

Angelo55

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