[Wtr-general] Checking whether images inside a table are enabled or disabled

Paul Rogers paul.rogers at shaw.ca
Mon Dec 4 17:58:15 EST 2006


but are they really disabled links, or just text that happens to look like a link to maintain the appearance of the page?
-------------- next part --------------
You can also take a look at the user contributions for a way to extend
Watir, this method checks for visibility:

http://wiki.openqa.org/pages/viewpage.action?pageId=1119

-Charley

On 12/4/06, Danny R. Faught <faught at tejasconsulting.com> wrote:
>
> On 12/4/2006, "vijay" <forum-watir-users at openqa.org> wrote:
> >T...While entering into our application, all links, other than
> "Instructions" and "Step 1. Details", should be disabled. ...  I want to
> verify this with Watir.  I am at a loss about how to do that.
>
> I would recommend looping through ie.links (or the appropriate frame) and
> making sure that nothing appears that's supposed to be disabled, by
> matching on the link text, e.g. match using /Step [2-6]/ etc.
>
> -Danny
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061204/15cc3d18/attachment.html 
-------------- next part --------------
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


More information about the Wtr-general mailing list