mahsaad Posted November 23, 2012 Share Posted November 23, 2012 Hello all,I'm new to the forum. If this has been asked before, i apologize in advanceI looked on Google and the Autoit forum for such issue, the ones i found are kind of relatedI'm building a macro to use at work for a web application to fill form input fieldsThe web application will run only on IEFilling the input fields works perfectAssuming that i'm filling the form in the web page manually, if i miss a field and i hit submit, a Jquery modal popup error appears to tell me that i missed the field x (it's the type of error popup that grey out the webpage when it appears)My question is: Is it possible with Autoit to detect such popup?Using the Autoit info tool, doesn't helpWinGetText and WinGetTitle and all those command, doesn't helpI need to verify if the popup is available before getting to the next phase in the web application/autoit scriptAny suggestions?Thanks in advance Link to comment Share on other sites More sharing options...
mahsaad Posted November 24, 2012 Author Share Posted November 24, 2012 Hello guys Anyone?? Thanks Link to comment Share on other sites More sharing options...
water Posted November 24, 2012 Share Posted November 24, 2012 Looks like nobody has an answer. Search the forum for "Jquery popup" and you will only find a few threads. Most of them with no reply or final solution. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
mahsaad Posted November 26, 2012 Author Share Posted November 26, 2012 Thanks Water, I'll look for that, hopefully someone will have a solution/answer Regards, Link to comment Share on other sites More sharing options...
DaleHohm Posted November 26, 2012 Share Posted November 26, 2012 Such popups can be created in several ways. If it is a strict jquery-style object, it will be inline HTML on the page. DebugBar will help you figure out what the HTML element(s) are. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
mahsaad Posted November 26, 2012 Author Share Posted November 26, 2012 (edited) Hi Dale,Thanks for the replyI installed Debugbar and here's what i got regarding the popup HTML code: <TABLE id=DivTable class="DIVPopup ResizablePopup" cellSpacing=0 cellPadding=0><TBODY><TR class="DIVPopupTitleBar DIVDraggable"><TD id=title_0 noWrap align=left><DIV class=title>Remedy User - Error </DIV><BUTTON id=ardivcl class="Close right" onclick="if (getOpenDIVPopup_NS('0')) getOpenDIVPopup_NS('0').OnCancel();"></BUTTON></TD></TR><TR><TD class=DIVPopupBodyNoBorder><IFRAME style="WIDTH: 100%; HEIGHT: 100%" id=1353946873307P src="https://itsm-uat-mt.cgi.com/arsys/resources/html/MessagePopup.html" frameBorder=0></IFRAME></TD></TR></TBODY></TABLE>It looks it has to do with an iFrame, i'm not sure if IE.au3 handles iFrames or if there are any commands related to iFramesRegards, Edited November 26, 2012 by mahsaad Link to comment Share on other sites More sharing options...
DaleHohm Posted November 26, 2012 Share Posted November 26, 2012 Scan the IE function list in the helpfile... you'll see them. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
mahsaad Posted November 27, 2012 Author Share Posted November 27, 2012 Thanks Dale, I don't know how i didn't see the iFrame commands in the help even thought the help window was in front of my face the whole day I will see if those commands will help resolving my issue, if i found one, i'll post it here Regards, 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