Re: [Wtr-general] Form Validation

2007-06-26 Thread imran
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

[Wtr-general] Form Validation

2007-06-25 Thread imran
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

Re: [Wtr-general] Microsoft Tab Strip Issues - urgent

2007-06-17 Thread imran
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

Re: [Wtr-general] $ie.text.include? problem

2007-06-13 Thread imran
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'

[Wtr-general] Microsoft Tab Strip Issues - urgent

2007-06-13 Thread imran
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

Re: [Wtr-general] Upgrading the gem for watir 1.5.1.1192

2007-06-12 Thread imran
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

[Wtr-general] Microsoft Tab Strip - TSNS:TabStrip

2007-06-12 Thread imran
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

Re: [Wtr-general] $ie show/hide?

2007-06-12 Thread imran
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 =

[Wtr-general] Upgrading the gem for watir 1.5.1.1192

2007-06-05 Thread imran
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

Re: [Wtr-general] Wtr-general Digest, Vol 42, Issue 3

2007-05-03 Thread Imran Hussain
, 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

[Wtr-general] 'Unable to locate object' problem

2007-05-02 Thread Imran Hussain
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=