My VBScript which launches an IE window and waits for the value of a button to change no longer works following an upgrade from Internet Explorer 8 to 9 (as part of a move to Windows 7 from Windows XP). After clicking the button the value changes from 'Accept' to 'Submit' and then the VBScript should continue however the value of the button is coming back as BLANK / NULL.
Here is the code snippet -
Set objExplorer = WScript.CreateObject("InternetExplorer.Application", "IE_")
strDecision = objExplorer.Document.Body.All.button.Value
Loop While (strDecision = "Submit")
It worked as expected prior to the upgrade so I assume that the element value is read differently in version 9.
Any help appreciated!