Hi Mark, I don't know what "Watir revision 934" is.  I'm using 1.4.1 and I don't _seem_ to have a problem with the script.

I did modify some of the lines, but perhaps the problem has something to do with the actual Search feature?  Here are the lines I modified:

      $ie.selectBox( :name, "myProjectID2").select("MARK-TEST")  # I took out the Span tag - it seems unnecessary

      $ie.radio( :id, '72').set     # I don't know why you had an extra ", 1" in there.

Instead of 'clicking' the buttons, I just flashed them.  The first time I ran the script, it opened up a million windows all trying to connect to some server.  If the page refresh after clicking the [Search] button is resetting a drop-down value, I can't imagine how Watir is doing that.

I don't know if this helps, but it did _seem_ to work for me.  Would it help if you tried inserting a 'sleep' delay after performing the Search?

Paul.


On 14/03/06, Cain, Mark <[EMAIL PROTECTED]> wrote:

I am running into issue where during a test.  I select a value from select box (1) and based on that value a span tag is shown with another select box (2) and I make a selection from that select box (2).  A little further down in my script I do a search for a checklist and when the page refreshed the selection made from the select box (2), within the span tag, is being reset.  Does anyone know why this is happening?  This does not happen when I run the application manually.

Ruby version 1.8.4_16

Watir revision  934

Here is my script:

[snip]

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

Reply via email to