Re: [Wtr-general] maxLength Validation

2007-05-31 Thread Bret Pettichord
Paul Rogers wrote: I added the patch for watir.rb to the jira ticket thanks for the patch. I committed it to trunk. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] maxLength Validation

2007-05-29 Thread Fletch
Hello All, I have been looking for a solution to this problem, and was wondering if anyone could give me some advice. I noticed yesterday that WATIR did not pay any attention to the maxLength of the text_field. I have tried using name.set(abc) and name.value = abc but both are still going

Re: [Wtr-general] maxLength Validation

2007-05-29 Thread Bret Pettichord
Fletch wrote: I have been looking for a solution to this problem, and was wondering if anyone could give me some advice. I noticed yesterday that WATIR did not pay any attention to the maxLength of the text_field. I have tried using name.set(abc) and name.value = abc but both are still

Re: [Wtr-general] maxLength Validation

2007-05-29 Thread Paul Rogers
Im sure there is code in the set method to limit it to the max size - did it somehow get broken? Paul - Original Message - From: Bret Pettichord [EMAIL PROTECTED] Date: Tuesday, May 29, 2007 11:30 am Subject: Re: [Wtr-general] maxLength Validation Fletch wrote: I have been looking

Re: [Wtr-general] maxLength Validation

2007-05-29 Thread Bret Pettichord
Paul Rogers wrote: Im sure there is code in the set method to limit it to the max size - did it somehow get broken? It's certainly possible. We don't have any unit tests for this feature, and the code supporting it is wrapped in a begin/rescue block. So if it fails, it would fail

Re: [Wtr-general] maxLength Validation

2007-05-29 Thread Paul Rogers
I opened jira 157 and added a patch for the unit test and html I'll try and take a look at the set method itself later on - Original Message - From: Bret Pettichord [EMAIL PROTECTED] Date: Tuesday, May 29, 2007 11:30 am Subject: Re: [Wtr-general] maxLength Validation Fletch wrote: I

Re: [Wtr-general] maxLength Validation

2007-05-29 Thread Paul Rogers
I added the patch for watir.rb to the jira ticket Paul - Original Message - From: Paul Rogers [EMAIL PROTECTED] To: wtr-general@rubyforge.org Sent: Tuesday, May 29, 2007 6:04 PM Subject: Re: [Wtr-general] maxLength Validation I opened jira 157 and added a patch for the unit test