Arclite86 Posted March 13, 2014 Posted March 13, 2014 I am trying to read a ellement that with an "a" than a class name and than an url this is what I have tried #include <IE.au3> local $oIE = _IECreate("https://website.com",1,0) $oInputs = _IETagNameGetCollection($oIE, "a") MsgBox(0,"", "" & $oInputs) but the message box is empty
somdcomputerguy Posted March 13, 2014 Posted March 13, 2014 See the example code in the help file - http://www.autoitscript.com/autoit3/docs/libfunctions/_IETagNameGetCollection.htm - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
Arclite86 Posted March 13, 2014 Author Posted March 13, 2014 On 3/13/2014 at 2:43 PM, somdcomputerguy said: See the example code in the help file - http://www.autoitscript.com/autoit3/docs/libfunctions/_IETagNameGetCollection.htm I have read it and it showing an example "Local $oInputs = _IETagNameGetCollection($oIE, "input")" so i thought i use this "Local $oInputs = _IETagNameGetCollection($oIE, "a")" because "a" is the name of the ellement but it didnt work I have also looked at the function:_IETagNameGetCollection but i am getting so confused with all these extra functions like: MsgBox($MB_SYSTEMMODAL, "Form Input Type", "Form: " & $oInput.form.name & @CRLF & @CRLF & " Types :" & @CRLF & $sTxt) I only want to read a ellement, if somebody would show me how i can read it than I will understand it much better
Danp2 Posted March 13, 2014 Posted March 13, 2014 The function returns a collection of objects, so I wouldn't expect the MsgBox to show anything. Suggest that you reexamine the help file, specifically the For...Next section of the example. somdcomputerguy 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
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