Sign in to follow this  
Followers 0
dickep

Get tables from 2nd IE occurance

4 posts in this topic

#1 ·  Posted (edited)

OK, I have looked here and can't seem to find what I need, so here goes.

I have a web based application that I use for testing tracking. It has numerous tables in the main window that use a javascript to open a new window with the testing steps. Now, I can get the URL info from the main window. However, using _IENavigate to get to the next window, I cannot seem to "see" the new window. I know it is there because (1) I can see it (DUH) and (2) if I do this manually and run the code, it sees all of the tables.

Now, the table generation is dynamic but they can be seen.

How does one have the main window open, javascript to the new window and exract the data out of the 2nd window? I am really trying to get the one table and put the info into Excel.

Thanks

E

Edited by dickep

Share this post


Link to post
Share on other sites



You need to use _IEAttach to get the new window.

Share this post


Link to post
Share on other sites

Tried _IEAttach("Summary", "Title") (where "Summary" is a sub set of the title) and, well, the thing timed out waiting.

Any idea why there was also, during runtime, the following "item" shows up and then just sits and waits.

=============

>Running:(3.3.4.0):C:\Program Files\AutoIt3\autoit3.exe "F:\AutoIt\Scripts\ApTestDownload_1.au3"

--> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch

==================

Share this post


Link to post
Share on other sites

This tells you that IEAttach has failed:

--> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch

Try as a test to attach using the address:

$oIE=_IEAttach($atachadres,"url")

Share this post


Link to post
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
Sign in to follow this  
Followers 0