I don't see a variable called name in that snippet. Perhaps you can show a larger section of code along with the expected and actual values.
Richard On Fri, Jan 2, 2009 at 4:46 AM, Amit <[email protected]> wrote: > > Hi, > Is there any function to flush the value from a variable in RUBY / > WATIR. I am facing problem while following code > I am trying to use following code > > Status=sheet1.getCellByPosition(5, I).Formula > ie.text_field(:name, "FieldName").value =Status > > > and it works fine, but On itetrating this piece of code for multiple I/ > Ps, variable 'name', retains its old value for some of the cases. I > identified this as a cache problem. Please suggest if there any flush > () type function or action in Ruby/watir to clear the garbage value. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
