quantan Posted January 12, 2012 Share Posted January 12, 2012 Here is the screenshot of the website:Here is the code I got from firebug add-on.<div id="inline-dialog-create_issue_popup" class="aui-inline-dialog" style="left: auto; right: 10px; top: 101.9px; display: none;"> <div class="contents" style="width: auto; min-width: 150px;"> <form id="issue-create-quick" class="aui top-label" action="/secure/CreateIssue.jspa"> <fieldset> <div class="buttons-container"> <div class="buttons"> <input id="quick-create-button" class="button save" type="submit" title="Create Issue" name="Create" value="Create"> <a id="quick-create-cancel" href="#">Cancel</a> </div> </div> </form> </div>The steps I did:- Click Create Issue -> Pop-up form displays- Click button "quick-create-button" by using _IEAction(...,"click).However, nothing happens when using _IEAction(...,"click). Please help me with this situation. Thanks so much. Link to comment Share on other sites More sharing options...
quantan Posted January 13, 2012 Author Share Posted January 13, 2012 Ok. The problem is solved. After clicking Create Issue, I have to use sleep(1000). But I have another issue. I cannot get the username, password and login button. $oForm = _IEGetObjByName ($oIE, "login-form-username") _IEFormElementSetValue($oForm, "abc") Here is the link: http://quality.level-studios.com/secure/Dashboard.jspa Please help me. Thanks Link to comment Share on other sites More sharing options...
quantan Posted January 17, 2012 Author Share Posted January 17, 2012 No one help me Link to comment Share on other sites More sharing options...
DaleHohm Posted January 17, 2012 Share Posted January 17, 2012 Suggest you use something like DebugBar to help you... Username and Password are in an iFrame called gadget-0 use $oFrame = _IEFrameGetObjByName($oIE, "gadget-0") 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...
quantan Posted January 17, 2012 Author Share Posted January 17, 2012 Suggest you use something like DebugBar to help you... Username and Password are in an iFrame called gadget-0 use $oFrame = _IEFrameGetObjByName($oIE, "gadget-0") DaleI got it. Thank you so much . Link to comment Share on other sites More sharing options...
sammy1983 Posted March 9, 2014 Share Posted March 9, 2014 Suggest you use something like DebugBar to help you... Username and Password are in an iFrame called gadget-0 use $oFrame = _IEFrameGetObjByName($oIE, "gadget-0") Dale Hi Dale, How to find the name of iFrame as here you have mention "gadget-0"? Link to comment Share on other sites More sharing options...
Palestinian Posted March 14, 2014 Share Posted March 14, 2014 Hi Dale, How to find the name of iFrame as here you have mention "gadget-0"? Using DeBuger as he mentioned, links are in his signature. 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