jim read Posted November 19, 2008 Share Posted November 19, 2008 (edited) I hate having to ask questions so I looked all over the forms and I still am confused on this i have this code trying to find the form called Login. from a open browser window. $oIE = _IEAttach ("Institution: 19") $oFrame = _IEFrameGetObjByName ($oIE, "frmNavBottom") $oForms = _IEFormGetCollection ($oFrame) MsgBox(0, "Forms Info", "There are " & @extended & " forms on this page") For $oForm In $oForms MsgBox(0, "Form Info", $oForm.name) Next here is the debug bar window Document HTML <> HEAD <> BODY id= BannerBody <>SCRIPT <>SCRIPT <>FORM name=frmMain action =Nav1151.aspx?WCI=Process&WCE=ProcessRedirect&PID=2 <>INPUT type = hidden name = TackStatus <>INPUT type = hidden name = NodeStatus <>DIV id=Banner class=Title <>TABLE <>TBODY <>TR <>TR <>TD <>IFRAME <>HTML <>HEAD <>BODY <>FORM name = Login action=SCM1151.spx?WCI=wcLogin&WCE=Request&PID=0 <>DIV id = HideSCM The IFRAME 4 lines above the Form Name is frmNavBottom and this is found correctly but I find no forms under that IFRAME. This is our core processing centers site not available via the internet. Can any of the guru's help me with this? Thanks Edited November 20, 2008 by jim read Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 19, 2008 Share Posted November 19, 2008 If the iFrame is at a different site, then you are getting blocked by cross-site scripting controls. Add these near the top of your script: _IEErrorHandlerRegister() #AutoIt3Wrapper_run_debug_mode=Y You would be seeing "Access Denied", or something similar. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
jim read Posted November 20, 2008 Author Share Posted November 20, 2008 Thank you for your responce. I had that function in there but that was not the issue. I begain to closely check the information that AutoIt was getting from IE7 and it was always the same no matter what site I was on. The informaiton AutoIT was getting feed to it happened to be the last page I was working my on before the strange things happend. So if I jumped my code to that spot and manually moved though the pages to get there the data matched. But IE still did not react as expected. I decieded to do the old standby and reboot and that cleared it up. So I do not know if it is an IE7 issue or what. I am working on XP Pro SP3 with IE 7. Thank you again 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