I suggest using rubyful-soup, which parses html. I found it to be pretty slick, althought some people complain that it is slow.

Bret

On 6/27/06, Beth Ferguson <[EMAIL PROTECTED]> wrote:
Hi Bret-

ie.div(:style, 'display:none').html  only gives me an error message which
reads: "unknown way of finding a DIV ( {what} )"

perhaps i should be a bit more explicit.  I need to parse this
information. the information is hidden in a form and it is a way for me to
make logical choices about what to do in the form without hardcoding an
index value or a name. so- if i could load all the elements into an array,
that would be all i would need.  I can do the array bit, i just can't
figure out how to get ruby/watir to recognize or find the elements.  would
the html parse module be a way to go?

Thanks-

Beth

<div style='display:none'>
<object type=NavigationTree>
  <attribute name=targetframe>basefrm</attribute>
  <data>
    <row>
       <cell>Application Monitoring</cell>
       <cell></cell>
    </row>
    <row>
       <cell>Application Library</cell>
       <cell>/gateway/infrastructure/Library.do</cell>
    </row>
    <row>
       <cell>Application Groups</cell>
       <cell>/gateway/infrastructure/Group.do</cell>
    </row>
  </data>
</object>
</div>

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

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

Reply via email to