Re: [wtr-general] Re: text_filed validation - onchange alert window

2010-05-28 Thread kashyap ivaturi
Hi Wesley, I tried the following or the text_field: I saved the below code in a .rb file and did a require of this file in the test script. module Watir class Element def set_no_wait(item) assert_enabled highlight(:set) object = #{self.class}.new(self, :unique_number,

[wtr-general] Re: text_filed validation - onchange alert window

2010-05-28 Thread kashyap
Hi Wesley, Sorry, I was able to get it to work. I did not pass the value to the text box properly before and that is the reason why it did not work before. Thank you for helping me with the issue. On May 28, 10:12 am, kashyap ivaturi kashyap...@gmail.com wrote: Hi Wesley, I tried the

[wtr-general] Re: text_filed validation - onchange alert window

2010-05-27 Thread Adam Reed
Exactly what I came to post; You're too fast Željko! On May 27, 3:04 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, May 27, 2010 at 7:14 PM, kashyap kashyap...@gmail.com wrote: I want to get a handle of that popup and verify the text on the alert window and hit on OK button.

Re: [wtr-general] Re: text_filed validation - onchange alert window

2010-05-27 Thread Wesley Chen
I think you can search the method as set_no_wait in Watir general group. Then you may have a try on it. Wesley. For life, the easier, the better. On Fri, May 28, 2010 at 7:54 AM, kashyap kashyap...@gmail.com wrote: Thank you for posting in the link.I checked it before and I tried one of the