Hi there, I searched the archives but I wasn't able to find any references to Ruby or Watir scripts for testing Dot.Net web apps that use Biztalk.  Biztalk is the workflow engine below the app layer (and beside the database server).  It doesn't have any UI presence on the web pages, but it controls the states of the various objects in our system.

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

Reply via email to