Actually adding support for frame(:id, 'foo') was recently added. I think it was included in 1.4.1. The docs may not have been updated (sorry).

(Eventually i hope to get these docs to be generated automatically so they are automatically in sync with the code.)

Bret

At 10:44 PM 9/5/2005, Angrez Singh wrote:
Hi,

I think you should read the documentation before going further with implementation. There are only three ways to access frames as per documentation and these are:

ie.frame(:index, 1)
ie.frame(:name , 'main_frame')
ie.frame('main_frame') # in this case, just a name is supplied

:id is not used while accessing the frames, and also the index starts from 1.

Regards,
Angrez


On 9/5/05, SUDHIR GUPTA <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:

Hii,
 ie.show_frames() gives and ouput message
frame index 0 --Access denied--

how do in access this frame also when i try to access the frame using
ie.frame(:id, 0) the message is wrong number of arguements.

can some help me on this.

The source for HTML is
<html>
<head>
<title>Satellite Manager</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset cols="120,*" frameborder="NO" border="0" framespacing="0">
  <frame name="leftFrame" scrolling="NO" noresize src="menu.jsp">
  <frame name="mainFrame" src="users.jsp">
</frameset>
</html>




Thanks and Regards
Sudhir Gupta
-

A little Consideration, a little Thought for Others, makes all the difference
Sudhir Kumar Gupta
MTS-Testing and Quality Engg
Persistent System Pvt Ltd

------------------------

_______________________________________________
Wtr-general mailing list
<mailto:[email protected]>[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general




--
Angrez Singh (<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED])
Member of Technical Staff
Persistent Systems Pvt. Ltd (<http://www.persistentsys.com/>http://www.persistentsys.com/)
Ph - +91 (20) 25653458 (o)
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_____________________
 Bret Pettichord
 www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to