but are they really disabled links, or just text that happens to look like a
link to maintain the appearance of the page?
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 <[EMAIL PROTECTED]> wrote:
On 12/4/2006, "vijay" <[EMAIL PROTECTED]> 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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
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