the disabled state is actually invalid for a link in firewatir ( check the
wtr-development archives from 3-4 weeks ago )

I cant comment on the link url issue

Paul

On Fri, Nov 21, 2008 at 1:40 PM, Walt <[EMAIL PROTECTED]> wrote:

>
> Installed latest Ruby and Watir to check compatibility of existing
> scripts
>
> When using    $br.links.each do |l| ; puts l.to_s ; end
>
> IE browser returns
> type:
> id:
> name:
> value:
> disabled:     false
> href:         http://www.hotels.com/hotels_houston_1410382.html
> inner text:   Houston Hotels
>
> Firefox browser returns
> type:
> id:
> value:
> disabled:
> href:         /hotels_houston_1410382.html
> inner text:   Houston Hotels
> name:
>
> HTML Snippet
> <li><a href="/hotels_houston_1410382.html" title="Houston
> Hotels">Houston Hotels</a></li>
>
> therefore with "site = www" my method of
> verifyLink(:url, /http:\/\/#{site}.hotels.com\/hotels_houston_
> \d*.html/)
> Passes for IE (with full URL returned) but fails for Firefox (with
> partial URL returned)
>
> I prefer to use the longer URL validation as this verifies
> configuration changes when the #{site} changes, for instance
> site = qa99-www or
> site = origin-www
>
> Thoughts/suggestions?
>
> Also note that the "disabled" state is not returned for Firefox.  I
> think I use this state in another script...but I have a way to go
> before I get that one.
>
> Thanks,
> Walt
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to