I do use the DebugBar. That's how I was able to get past the first two webpages. The first page is a login and the second I need to click a link to get to the questions that I am having trouble with. The first two pages I was able to get the form name. I'm pretty sure that the radio buttons on the third page are not part of a form and that's where I'm stuck.
Here is the code I'm using for the first two pages that I need to navigate through.
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;overflow:auto'>
#include <IE.au3>
$oIE =_IECreate("http://google.com")
; waits for page to load before proceeding...i think
_IELoadWait ($oIE)
; get pointers to the login form and username, password and signin fields
$o_form = _IEFormGetObjByName($oIE,"form1")
$o_login = _IEFormElementGetObjByName($o_form,"USER_ID")
$o_password = _IEFormElementGetObjByName($o_form,"USER_PASSWORD")
$o_signin = _IEFormElementGetObjByName($o_form,"LOGIN")
;fill out form
_IEFormElementSetValue ($o_login, "$$$ID$$$")
_IEFormElementSetValue ($o_password, "$$$PASS$$$")
;click login button
;_IEAction ($o_signin, "click")
_IEFormImageClick ($o_form, "Login", "alt")
_IELoadWait ($oIE)
;clicks link on second page to enter webcert
_IELinkClickByText ($oIE, "Identifiable text to click on")
_IELoadWait ($oIE)
;clicks continue on webform welcome page
_IEFormImageClick ($oIE, "CONTINUE", "alt")</div>
Here is what I'm working on now to get through the third page. As you can see by the commented out lines, I have tried several ways...
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;overflow:auto'>
#include <IE.au3>
$oIE =_IECreate("D:\Desktop\testpages\webform.asp.htm")
;_IELoadWait ($oIE)
$oForms = _IEFormGetCollection ($oIE, 0)
; $oForm = _IEGetObjByName ($oIE, "AC")
; ;$oForm = _IEFormGetCollection ($oIE, 0)
_IEFormElementRadioSelect ($oForm, "AC", 1)
MsgBox(0, "Forms Info", "There are " & @extended & " forms on this page")
For $oForm In $oForms
MsgBox(0, "Form Info", $oForm.name)
Next
$oElement1 =_IEGetObjByName ($oIE, "A1")
_IEAction($oElement1, "click")
$oElement2 =_IEGetObjByName ($oIE, "A2")
_IEAction($oElement2, "click")
; $oElement3 =_IEGetObjByName ($oIE, "A3") ; this doesnt work because Yes is selected and I need to choose No.
; _IEAction($oElement3, "click")
; $oElement4 =_IEGetObjByName ($oIE, "AC") ; this doesnt work because Yes is selected and I need to choose No.
; _IEAction($oElement4, "click")
; $oElement5 =_IEGetObjByName ($oIE, "CONTINUE"); this does work but I cannot choose continue until I complete all questions.
; _IEAction($oElement5, "click")</div>