For example, in an Order system, an Order may go through the states: New, Pending, Filled, Paid, Completed. (I dunno, I'm just making this example up off the top of my head.) When I click a button or fill in a form, it will cause the workflow engine to do its thing and update the object states in the background. When I am manually testing, I just click on various UI elements back and forth until I see the desired state for the object (e.g. "order") that I am tracking.
So my question is: How do I get Ruby or Watir to wait around until an object is in a desired state before it can continue?
A secondary question is: How can I tell my Ruby or Watir script that if it waits too long, it should probably just give up and stop the test there?
Please let me know if anyone has any experience scripting web apps with Biztalk or this kind of setup?
Paul.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
