Hi, All
Following has been done, sorry for inconvenience.
*For String only*
if alphaString =~ (/[0-9]/) return false
*For Numeric Only*
if numericString =~ (/[a-z or A-Z]/) return false
*For Alpha Numeric*
if alphaNumericString =~ (/[a-z or A-Z]/) alphaNumericString =~ (/[0-9]/)
return
Hi, All
I have to validate a form in the following way.
1- Validate Field length.
2- Validate Field Type (Character or Numeric or Alpha Numeric)
How can i validate the form in that way.
Thanks to all.
Kind Regards,
M.Imran
___
Wtr-general mailing
Hi, Bret
Thanks.
I will try the regular expression. If you means to say any hidden parameter as
session key then no.
I need to work on regular expressions. thanks for the link. I will let you know
about the progress i made.
I think microsft tab strip support must be added to the watir.
Also
Hi, *carabasu*
Please execute the code below, i have just removed form your code an extra
*end*.
and added
require 'watir' and replaced IE.new with Watir::IE.new because i didn't use
include WATIR
Execute below code it will print one .. OK
require 'watir'
testSite = 'http://www.google.com'
Hi, All
I am working on writing the scripts for my web application but the problem is
that i am unable to locate the object named Microsoft Tab strip. Code is like
that
TR
TD colSpan=4?IMPORT NAMESPACE = TSNS IMPLEMENTATION =
http://zaigham/webctrl_client/1_0/tabstrip.htc; DECLARENAMESPACE
Hi, Bret
Thanks for considering my question.
I have un-installed the watir 1.4.1, so the problem get resolved now.
But there is another query.
I am working on writing the scripts for my web application but the problem is
that i am unable to locate the object named Microsoft Tab strip. Code is
Hi, All
I am working on writing the scripts for my web application but the problem is
that i am unable to locate the object named Microsoft Tab strip. Code is like
that
TR
TD colSpan=4?IMPORT NAMESPACE = TSNS IMPLEMENTATION =
http://zaigham/webctrl_client/1_0/tabstrip.htc; DECLARENAMESPACE
Hi,carabusu
To bring the IE at front use the line = $ie.bring_to_front()
To Maximize the IE use the line = $ie.maximize()
To Minimize the IE use the line = $ie.minimize()
To hide the IE follow the link below:
URL =
A new gem is ready for download, this is the latest pull from Subversion
source, tagged at 1.5.1.1192. This gem has a new install process, due to a new
dependency on other gems.
After download the gem, execute the following commands in the same directory as
the gem:
gem install win32-process
, not enabled, or of a type that
does not accept the focus.HRESULT error code:0x80020009 Exception
occurred. from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3388:in `set'
Thanks,
Imran
From: [EMAIL PROTECTED] Subject: Wtr-general Digest, Vol 42, Issue 3 To:
wtr-general@rubyforge.org
Hi,
'Unable to locate object' problem
When running the following show_all_objects command, I get;
rb(main):016:0 ie.show_all_objects---Objects in page -
HTML Document name= id=SN_NOTESSFrame src=textarea
name=SN_NOTESSText id=
11 matches
Mail list logo