[wtr-general] Re: Getting (JsshSocket::JSSyntaxError) Error
Seems like nobody knows solution for this..strange On Tue, May 31, 2011 at 11:08 AM, Amit Bobade wrote: > Dear All: > > I am getting following error while executing the script. Please provide > some solution. > > > E:/Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/jssh_socket.rb:19:in > `js_eval': missing ; before statement (JsshSocket::JSSyntaxError) > > > Thanks in advance. > > -- > Thanks and Regards, > Amit > > -- Thanks and Regards, Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Test field for valid/invalid email formats
Here's a little help on that: http://ruby.about.com/od/regularexpressions/a/pracemail.htm http://adamloving.com/internet-programming/common-ruby-regex-patterns Good luck, Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Test field for valid/invalid email formats
Having written email validation previously, there's really not a reliable way to check on a truly valid email. This might get you through 90+% of the cases, note: I haven't tried it: http://rubygems.org/gems/rfc822 If you read the rfc, it's a really open ended standard, even most validators are easily fooled by valid addresses according to the standard. HTH, Charley On Tue, May 31, 2011 at 10:21 AM, Super Kevy wrote: > Does anyone have a test script that can check a text field for valid > email format? > I've probably done this 1000 times by hand > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: The simplest Log
Oh, I thought that was standard library. I was also sure that I had used it before, but maybe not (not in my path either). I found a copy of it by googling, which is a good tool to become friends with. http://redmine.ruby-lang.org/attachments/256/ruby-changes.patch Good luck, Dave -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Test field for valid/invalid email formats
Does anyone have a test script that can check a text field for valid email format? I've probably done this 1000 times by hand -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com