Jump to content
Sign in to follow this  

Link to frames

Recommended Posts


Hi There

I am working with the webpage that has got 6 frames in the main page.

The main page doesnt have any HTML apart from the src of the frames.

When i am trying to click on the button on the different frames i cant do as no HTML is detected.

IS there any way i can use the location of the frame and use the html or text on that frame.

If i try to open the frame separately using the link then i can click on the javascript button using the ID of that object.

BUt i cant use it with the main page.

Please help.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >




<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">

<meta name="CODE_LANGUAGE" Content="C#">

<meta name="vs_defaultClientScript" content="Javascript">

<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">


<frameset rows="50,86%,23" frameBorder="no">

<frame name="header" src="header.aspx" scrolling="no" frameBorder="no">

<FRAMESET cols="16.5%,83.5%">

<frameset rows="50%,12%" frameborder="no">

<FRAME name="link" src="menu.aspx">

<frame name="notice" src="notice.aspx" scrolling="no" frameBorder="no">


<frameset rows="20,100%" frameBorder="no">

<frame name="mainHeader" id="mainHeader" src="TitleHeader.aspx" noresize scrolling="no">

<frame name="main" id="main" src="home.aspx" noresize scrolling="auto">



<frame name="footer" src="Refreshmsg.aspx" noresize>


<pre id="p2">



1. Add the URL of your src="" page for the "header" frame.

2. Add the URL of your src="" page for the "main" frame.

3. Add a BASE target="main" element to the HEAD of

your "header" page, to set "main" as the default

frame where its links will display other pages.



<p id="p1">

This HTML frameset displays multiple Web pages. To view this frameset, use a

Web browser that supports HTML 4.0 and later.





Share this post

Link to post
Share on other sites

Please show some code you've tried, share your results and analysis.


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

Share this post

Link to post
Share on other sites

Have you tried the _IEFrame* functions?

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