dickep Posted April 5, 2010 Share Posted April 5, 2010 (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 April 5, 2010 by dickep Link to comment Share on other sites More sharing options...
Juvigy Posted April 6, 2010 Share Posted April 6, 2010 You need to use _IEAttach to get the new window. Link to comment Share on other sites More sharing options...
dickep Posted April 7, 2010 Author Share Posted April 7, 2010 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 ================== Link to comment Share on other sites More sharing options...
Juvigy Posted April 7, 2010 Share Posted April 7, 2010 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") 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