I have searched the forum and tried every example I can find to drill down thru the frames, but I can't seem to get to first IFRAME without error.

An example of one failed attempt: (gives nomatch error on last line)

CODE

#include <ie.au3>

#AutoIt3Wrapper_run_debug_mode=Y

$oIE = _IEAttach("My App", "Title")

$oFrame1 = _IETagnameGetCollection($oIE, "frame", 0)

$oFrame2 = _IETagnameGetCollection($oFrame1, "iframe", 0)

Since my example field above has a name, idatatype, I've tried to directly access with _IEFormElementGetValue(), but that function appears to only use a form variable, and as far as I can tell, my page has no forms. I tried a $oForm = _IEFormGetCollection($oIE, 0) to determine this . . . it came back nomatch.

So basically, I'm at a loss as to how to get data off this bugger. ANY pointers would be appreciated.

Since my example field above has a name, idatatype, I've tried to directly access with _IEFormElementGetValue(), but that function appears to only use a form variable, and as far as I can tell, my page has no forms. I tried a $oForm = _IEFormGetCollection($oIE, 0) to determine this . . . it came back nomatch.

So basically, I'm at a loss as to how to get data off this bugger. ANY pointers would be appreciated.

Share this post

Link to post

Share on other sites

DaleHohm 58

DaleHohm 58

So, the last question is still a good one... what's in those frames? If it html or perhaps a PDF or something else? Inportant things are how the frame source locations relate to the containing document location and what they contain.

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=YDoesn'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

Share this post

Link to post

Share on other sites

JBJB 0

JBJB 0

I'm not able to provide a reproducer as this application is running on a private corp network. The application is a web-based development tool, and the page I'm on defines field attributes. The top has a scrolling list of fields, and the bottom has a tabbed object showing all the attributes for the chosen field. There is a lot of javascript on the page.

I don't know if it's helpful, but the DOM tab in DebugBar only shows one iframe that I can see . . . not sure why Spy showed more.

Not being a web guy, I'm not sure what to provide you, to help you help me.

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=YDoesn'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

Share this post

Link to post

Share on other sites

DaleHohm 58

DaleHohm 58

I was afraid of that... it tells us nothing about the content in the frames (although it looks like it is Cold Fusion). They are all on the same server however, which overcomes one roadblock.

Can you right-click on the contents frame and View Source? If you choose the contents frame in the DebugBar dropdown I mentioned above, will it should you its source?

I'm curious... I see DebugIt in the output you show here... how are you running this application? Are you doing through the DebugIt helper or directly from SciTe? Does it behave differently if run just in SciTe?

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=YDoesn'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