Jump to content

_IE functions and frames


Recommended Posts

I am having the hardest time getting the _IE functions to work. I'm trying to keep it simple and can't even get the frames list

here is the html frameset page:

CODE
<!-- LOGIN_FR.JSP

Sets up the frames with login page and a pre login content.

-->

<html>

<head>

<script src="edited url" type="text/javascript"></script>

<script type="text/javascript">

_uacct = "UA-2132717-1";

urchinTracker();

</script>

<title>Healthweb eApp</title>

</head>

<frameset name="APPLOGIN_FRAMESET" id="APPLOGIN_FRAMESET" cols="177,*" frameborder="NO" border="0" framespacing="0">

<frame name="login" id="login" marginheight="0" marginwidth="0" noresize src="/tzg/eservice/login/login.jsp" scrolling="no" >

<frame name="main" id="main" scrolling="yes" src="/tzg/eservice/login/disclaimer/prelogin.jsp">

</frameset>

</html>

#include <IE.au3>
$oIE = _IECreate("edited url")
$oFrames = _IEFrameGetCollection ($oIE)
$iNumFrames = @extended
For $i = 0 to ($iNumFrames - 1)
    $oFrame = _IEFrameGetCollection ($oIE, $i)
    MsgBox(0, "Frame Info", _IEPropertyGet ($oFrame, "login"))
NextoÝ÷ ÚØ^r^Æ¥-²ÚÚm¢ëh~Ø^éi~)^nëHç©ëmx-+,zÚzºè®Æ®¶­sbÒÒb3c#²RæS2c"ã2ÓW'&÷"g&öÒgVæ7FöâôU&÷W'GvWBÂb33cµôU7FGW5ôçfÆEfÇVRçfÆB&÷W'G¢ÒÒb3c#²RæS2c"ã2ÓW'&÷"g&öÒgVæ7FöâôU&÷W'GvWBÂb33cµôU7FGW5ôçfÆEfÇVRçfÆB&÷W'G¢ÒÒb3c#²RæS2c"ã2ÓW'&÷"g&öÒgVæ7FöâôTg&ÖTvWDö&¤'æÖRÂb33cµôU7FGW5ôçfÆDö&¦V7EG
Link to comment
Share on other sites

I don't think "login" is a valid property under _IEPropertyGet(). Look at the list in the help file.

Did you mean that to be the name of the Frame you are interested in?

:)

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

I don't think "login" is a valid property under _IEPropertyGet(). Look at the list in the help file.

Did you mean that to be the name of the Frame you are interested in?

:)

holy crap... you are right that's totally my bad. I changed it to locationurl which is what I want. and it's reporting the frames available.

Thanks for helping me not be blind! LOL

I am trying to then get the form information and enter the username/password. What would the next step look like?

Edited by mortalic
Link to comment
Share on other sites

Download DebugBar (free) and you'll be amazed at the doors it will open for you and the work it will save...

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...