On 6/13/06, Andy Sipe <[EMAIL PROTECTED]> wrote:
What would be nice would be something like this:

@ie.wait(10) {
  button(:id, 'btnOne)
  span(:id, 'blah')
}

This would be:

wait_until(10) {
  @ie.button(:id, 'btnOne').exists? and
  @ie.span(:id, 'blah').exists?
}
 
Also, is it enough to just check that the item exists?  Often I have items
that are being updated via AJAX style code and they exist, but they are
changing, so I'm looking to see if the value is something specific or
something different than last time.   If I had the polling on exist it
wouldn't be enough.

This approach would allow you to check for whatever you wanted.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to