It's not a label, it's a span. try:
assert( $ie.span( :id, "lblMonth1" ).innerText == "2005/10" ) ... j. On 11/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > given: > <td class="Lpadding" height="4"><span id="lblMonth1">2005/10</span></td> > > I tried this: > assert($ie.label(:id,"lblMonth1").innerText=="2005/10") > > but: > Watir::Exception::UnknownObjectException: Unable to locate object, using id > and lblMonth1 > > Am I doing it wrong? > > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > -- "Remember. Understand. Believe. Yield! -> http://ruby-lang.org" Jeff Wood _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
