RE: [Wtr-general] RE: image.to_s

2005-07-28 Thread Zeljko Filipin
I have tried new and improved image.to_s and brand new ie.file_fields and they work just fine! :) But... Why value and disabled are not removed from image.to_s? Is there any reason that it should be there? Unit tests report this failures (I think they were reported also the last time I

[Wtr-general] Switching from Segue's SilkTest to WATIR?

2005-07-28 Thread Tuyet Cong-Ton-Nu
Sure, here is the attachment to be added to the Wiki page. Comparisons between Watir and SilkTest.doc Description: MS-Word document ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] bug?

2005-07-28 Thread Jan.Montano
Is this a bug or what? written below is a part of my code. it just runs a number of threads. However when i make it to loop 3 or more times. it returns an error in freeride, but not in scite editor. attached below is the console output for the error. Please advise. thanks. #no error

RE: [Wtr-general] Sending Email Notifications

2005-07-28 Thread Cain, Mark
I got the same error when I first ran it. I changed the case of .send to .Send and it worked and continues to work. You might try retyping that line yourself making sure our capitalize .Send. I know it shouldnt matter but sometimes it does. I also ran it line by line in IRB and could see

[Wtr-general] where's the tarball again?

2005-07-28 Thread Shao Kang Tat
Hey I remember someone told me where to get the tarball of the latest updates...but I forgot where it is and I can't find it... Does the current fix support value for radio buttons yet? Thanks Shao ___ Wtr-general mailing list

RE: [Wtr-general] (possibly) Introducing WatirMaker

2005-07-28 Thread Michael Kelly
Title: Message Dang. I was operating on the assumption that it was written in Ruby. There's no reason why it couldn't be written in Ruby, no? -=michael=- -- Michael Kelly Sr. Software Engineer Eleven Wireless Inc. - The Possibilities are Wireless http://www.elevenwireless.com

RE: [Wtr-general] (possibly) Introducing WatirMaker

2005-07-28 Thread Scott Hanselman
Title: Message It uses some pretty hairy COM Interop ConnectionPoint/EventSink stuff. Youre welcome to try. Scott From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Kelly Sent: Thursday, July 28, 2005 8:28 AM To: wtr-general@rubyforge.org Subject: RE:

RE: [Wtr-general] wair for start explorer to load

2005-07-28 Thread Paul Rogers
I think this will be fixed in the next release. There was a bug in attach where it wouldn't wait Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 27 July 2005 21:51 To: wtr-general@rubyforge.org Subject: [Wtr-general] wair for

RE: [Wtr-general] RE: image.to_s

2005-07-28 Thread Paul Rogers
Ive just looked at the docs and value isnt supported on images, but disabled is. Sets or retrieves the value that indicates whether the user can interact with the object. from http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/img.as p?frame=true I suspect that it would be used

RE: [Wtr-general] RE: image.to_s

2005-07-28 Thread Paul Rogers
This was the case, and Ive added a unit test for disabled images. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: 28 July 2005 10:52 To: wtr-general@rubyforge.org Subject: RE: [Wtr-general] RE: image.to_s Ive just looked at the

RE: [Wtr-general] Script non-responsive

2005-07-28 Thread Paul Rogers
I just tried search.aol.com and I get a similar thing, even when attaching to it ie=Watir::IE.attach(:title , /S/) and it just hangs. Stack trace after a ctrl C IRB::Abort: abort then interrupt!! from c:/ruby/lib/ruby/1.8/irb.rb:81:in `irb_abort' from

RE: [Wtr-general] (possibly) Introducing WatirMaker

2005-07-28 Thread Michael Kelly
Title: Message Could you post a sample of the hairy-ness? -=michael=- -- Michael Kelly Sr. Software Engineer Eleven Wireless Inc. - The Possibilities are Wireless http://www.elevenwireless.com -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [Wtr-general] Script non-responsive

2005-07-28 Thread Paul Rogers
This page at aol has several iframes that get updated with the latest 'hot searches' My guess is that the problem is something to do with these. I altered the wait method, and I got my problm sorted - maybe you could try this and see if it works for you? Paul ## wait with a maximum wait time

[Wtr-general] Sending Email Notifications

2005-07-28 Thread Tuyet Cong-Ton-Nu
Thanks, Mark.  I did as you suggest and executed each line in irb, and here it what I got, still an error even with capital S and small s: irb(main):014:0 cdoMail = WIN32OLE.new(CDO.Message) = #WIN32OLE:0x2b262c0 irb(main):015:0 cdoMail.From = [EMAIL PROTECTED] = [EMAIL PROTECTED]

[Wtr-general] Sending Email Notifications

2005-07-28 Thread Tuyet Cong-Ton-Nu
Thanks Zeljko. I copied your code and made the appropriate changes and got this error. Is this a security issue from the SMTP server that I sent the email to? C:\watir\watiremail.rb c:/ruby/lib/ruby/1.8/net/protocol.rb:83:in `initialize': No connection could be made because the

[Wtr-general] Sending Email Notifications - Success

2005-07-28 Thread Tuyet Cong-Ton-Nu
OK, I figured out why it didnt work, the SMTP name was wrong. But its working now. Here is the code that worked: require 'net/smtp' msgstr = This is a test email message # using block form of SMTP.start Net::SMTP.start('isis.msci.com', 25) do |smtp| smtp.send_message msgstr,

RE: [Wtr-general] where's the tarball again?

2005-07-28 Thread Zeljko Filipin
At this page there is link Download tarball : http://rubyforge.org/cgi-bin/viewcvs.cgi/?cvsroot=wtr (http://rubyforge.org/projects/wtr/ SCM Browse CVS Repository). Or just click http://rubyforge.org/cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1cvsroot=w tr to download it. Zeljko -Original

RE: [Wtr-general] RE: image.to_s

2005-07-28 Thread Zeljko Filipin
Try to validate this html (http://validator.w3.org/) and it returns error 'there is no attribute disabled'. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en head title image /title

[Wtr-general] Modal Dialog with Select lists

2005-07-28 Thread Tim Feltham
Hello All, I've been having fun working with/evaluating WATIR and its looking pretty good. Butour products have quite a few modal dialogs. I've got a simple ok,cancel dialog with the title "Microsoft Internet Explorer" to work with Thread.new { sleep 0.1;

RE: [Wtr-general] (possibly) Introducing WatirMaker

2005-07-28 Thread Tim Feltham
Hey Scott, WatirMaker looks really cool. I'm happy to do some testing of the app if you want. I don't have .NET installed though so I'd need an executable file. Cheers, Tim From: [EMAIL PROTECTED] on behalf of Scott Hanselman Sent: Fri 29/07/2005 4:39 a.m.

RE: [Wtr-general] Modal Dialog with Select lists

2005-07-28 Thread Paul Rogers
Title: Message Watir cant access these modal dialogs, various people have tried diferent things. Maybe you can do something with auto-it - I personally havent tried. If you get some code working, please post it to the list Paul -Original Message-From: [EMAIL PROTECTED]

RE: [Wtr-general] RE: image.to_s

2005-07-28 Thread Paul Rogers
It may well be an IE extension, although the docs ( http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/dis abled_2.asp?frame=true ) say it belongs to the w3c dom spec. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeljko Filipin

[Wtr-general] How to get value out of table?

2005-07-28 Thread Tuyet Cong-Ton-Nu
I am able to see that this 3rd table has 10 columns and 24 rows. irb(main):122:0 puts frame1.table(:index, 3).column_count 10 = nil irb(main):123:0 puts frame1.table(:index, 3).row_count 24 = nil How do I get the value of each cell for every row and every column? Here are some

[Wtr-general] Help Object Repository?

2005-07-28 Thread Hue Mach Dieu
Dear ALL, Does anyone have define all object in one file and these object reference by other test cases like [QuickTest Pro] or [Silktest] object repository # ObjectRepository require 'watir' include Watir @ie = IE.new @obj_leftFrame = @ie.frame(leftframe) @obj_btnSubmit =

Re: [Wtr-general] How to get value out of table?

2005-07-28 Thread Shao Kang Tat
did you try something like this? t = frame1.table(:index, 3) puts t[1][24].text.strip Shao ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Get Radio Button Text?

2005-07-28 Thread Hue Mach Dieu
Dear All How can I get this Radio Button Text (in this case is Stepper or C/D) The HTML code as below .. tr td class=sitemType/td td input type=radio name=kind value=0 onClick=change_kind(); checked Stepper input type=radio name=kind value=1 onClick=change_kind();

Re: [Wtr-general] RE: Click OK button on Popup Dialog?

2005-07-28 Thread Bret Pettichord
I've been trying to understand this all better myself and once i do, i think i want to rework the code that we have so that users don't have to think about threads or processes -- that really should be handled by the tool. Like i said, i'm still trying to track down all the facts -- but at

RE: [Wtr-general] RE: Click OK button on Popup Dialog?

2005-07-28 Thread Paul Rogers
Ive been doing the same. I posted some code to deal with file Requesters around the 15th June. It seems this one needs to be in a separate process. I'll need to do some more testing to be really sure. I think there may also be differences between win xp and win 2k Paul -Original Message-