On 8/21/06, sikander <[EMAIL PROTECTED]> wrote:
> this method is restricted to check for only 3 specific links. But I want to
> define array[] as the parameter, and I want to pass any number of links and
> verify it.

This should do it...

def run_check_links(ieHelper, *arrayText)
  for text in arrayText
    assert(ieHelper.link(:text, text.exists?)
    assert(ieHelper.link(:text, text.enabled?)
    assert_equal("link",ieHelper.link(:text, text.type )
  end
end
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to