tonycst Posted January 25, 2018 Share Posted January 25, 2018 $IEAttach = _IEAttach($AssemblyWindow) $ID = _IEGetObjById($IEAttach, "lblItemData") $Value = _IEFormElementGetValue($ID) MsgBox(0, '', $Value) I am not reading the value stored in this line of code <SPAN id=lblItemData class=DisplayText style="WIDTH: 100%">5</SPAN> The value is >5< and i am not reading it. What am i doing wrong ? thanks ! Link to comment Share on other sites More sharing options...
Danp2 Posted January 25, 2018 Share Posted January 25, 2018 SPAN is not a form element. You want the inner text. Take a look at _IEPropertyGet in the help file. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
tonycst Posted January 25, 2018 Author Share Posted January 25, 2018 my understanding is that _IEPropertyGet gives me information about entire document rather then anything specific. I guess i was wrong. $Value = _IEPropertyGet($ID, "innertext") did the trick. thanks ! 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