Jump to content

Recommended Posts

Posted

Here is the screenshot of the website:

Posted Image

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.

Posted

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

Posted

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

Posted

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

I got it. Thank you so much :).

  • 2 years later...
Posted

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"?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...