[Wtr-general] New Watir1.4.1 Installer - problems and assistance

2005-08-25 Thread Kingsley
Hi   I have had a few reports of problems when installing the new watir1.4.1 exe installer.   If you had a problem please let me know stating the following:   When you install and get an error about unable to find watir/ please click on the show details button and tell me if

Re: [Wtr-general] [ wtr-Support Requests-2303 ] get the inner text from a tag

2005-08-25 Thread Jeff Wood
Bret Pettichord wrote: Anyone want to help this guy out? All you have to do is look at the code for P and Span and do the same thing to create a Pre. It is a couple lines of Ruby. Any takers? Bret At 06:50 PM 8/24/2005, [EMAIL PROTECTED] wrote: Support Request

Re: [Wtr-general] [ wtr-Support Requests-2303 ] get the inner text from a tag

2005-08-25 Thread Jeff Wood
Bret Pettichord wrote: Anyone want to help this guy out? All you have to do is look at the code for P and Span and do the same thing to create a Pre. It is a couple lines of Ruby. Any takers? Bret At 06:50 PM 8/24/2005, [EMAIL PROTECTED] wrote: Support Request

[Wtr-general] [ wtr-Feature Requests-2310 ] watir home page should have search box

2005-08-25 Thread noreply
Feature Requests item #2310, was opened at 2005-08-25 19:46 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=490&aid=2310&group_id=104 Category: Website Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Kingsley Hen

[Wtr-general] Carl L Shaulis is out of the office.

2005-08-25 Thread carl . l . shaulis
I will be out of the office starting 08/25/2005 and will not return until 08/29/2005. I will respond to your message when I return. -- "NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to

[Wtr-general] Re: Wtr-general Digest, Vol 21, Issue 74

2005-08-25 Thread Lisa Crispin
Since I'm not a programmer, or apparently not even a very smart tester, it didn't occur to me even to look for a unit test, sorry! ;-> However, I did study your example and make an attempt. It is still not working and I hope maybe someone can help if I post more information. I've had two smart

RE: [Wtr-general] Writing values to a file

2005-08-25 Thread Kingsley
If you use File.open you can put the code in a block also without having to close the file after File.open("testfile.txt", "w"){|f| f.puts t1,t2} -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Gallagher Sent: 25 August 2005 21:21 To: 'wtr-general@r

RE: [Wtr-general] WATIR Tools queries

2005-08-25 Thread Kingsley
Hi   You might find this script useful for reading from either a csv file or an excel spreadsheet   Thanks   Kingsley       -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sathish Chandrasekaran Sent: 25 August 2005 06:22 To: wtr-general

RE: [Wtr-general] Writing values to a file

2005-08-25 Thread Sean Gallagher
f = File.new("testfile.txt", "a") f.puts t1.to_s f.puts t3.to_s -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tonny Brown Sent: Thursday, August 25, 2005 5:01 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Writing values to a file Hi there,

[Wtr-general] Re: Wtr-general Digest, Vol 21, Issue 74

2005-08-25 Thread Lisa Crispin
> Message: 3 > Date: Wed, 24 Aug 2005 23:27:53 -0500 > From: Bret Pettichord <[EMAIL PROTECTED]> > Subject: Re: [Wtr-general] Problem with running tests in a suite > To: wtr-general@rubyforge.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii"; format=flowed > > At

RE: [Wtr-general] reading from a file

2005-08-25 Thread Jonathan Kohl
Here is the RDoc for CSV. I found it really easy to follow. The only problem is if you have double quotes in some of your CSV data it throws things off. I swapped them out (like back in the day with SQL Server) and back in when needed.   http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/

RE: [Wtr-general] reading from a file

2005-08-25 Thread Jonathan Kohl
You can use the Ruby CSV library to access data from a delimited file. Read in a particular value, store it in a variable, and then use that variable in place of the hardcoded value.   -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nishita AcharyaSent:

Re: [Wtr-general] watir/dialog

2005-08-25 Thread Bret Pettichord
At 09:22 PM 8/24/2005, Jeff Wood wrote: Do you have any examples using the new remote_eval stuff? In the unit tests _ Bret Pettichord www.pettichord.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.o

Re: [Wtr-general] Writing values to a file

2005-08-25 Thread Tonny Brown
Hmm almost there but I get the following error: '+': string can't be coerced into float (TypeError) it has to do with the + in f.write(t3 + "\n") __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.y

Re: [Wtr-general] Writing values to a file

2005-08-25 Thread Shao Kang Tat
Well if you create your file and open it, you can just continue writing to it no problem. It's when you create your file, close it for some reason then open it again later on that you might over write it. But in that case you just open it in append mode so nothing gets overwritten. Take a look a

Re: [Wtr-general] Writing values to a file

2005-08-25 Thread Tonny Brown
thanks. all done. though i was thinking that if i wanted to update the text file and NOT replace it, I could not use the f.write command. Is that right? i.e. if i want to keep a log of the t1 and t3 values for a period of 1 minute, getting the values every 10 seconds, the f.write command cannot b

Re: [Wtr-general] Writing values to a file

2005-08-25 Thread Shao Kang Tat
or f.write(t3.to_s + "\n") rather if t3 is the line that's giving you trouble ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Writing values to a file

2005-08-25 Thread Shao Kang Tat
try: f.write(t1.to_s + "\n") ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Writing values to a file

2005-08-25 Thread Shao Kang Tat
I believe it would be just f.write(t1 + "\n") f.write(t3 + "\n") the "\n" puts the next write on a new line ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Writing values to a file

2005-08-25 Thread Tonny Brown
Hi there, I was wondering how i can write some values to a file? t1=Time.now t2=3 t3=t1 + t2 puts t1 puts t3 f = File.new("testfile.txt", "w") How am I supposed to write the values of t1 and t3 to the file testfile.txt? thanks a lot

[Wtr-general] reading from a file

2005-08-25 Thread Nishita Acharya
hello,    The following stmts chooses "canadaEnglish" from the drop down list.Now  thsi string has been hard coded..i want to know how the same string can be read frm a   csv(comma separated variable) file.      #CODE    puts 'Step 2: Select Canada from the Top Stories drop-down list'  

Re: [Wtr-general] Problem with running tests in a suite

2005-08-25 Thread Andy Sipe
I have exactly the same problem.  The problem is made worse when running on slower computers.   The test suite runs fine on higher speed development stations, but when run on a build box that is under considerable strain many of the tests written using watir fail with this problem.    I haven't co

RE: [Wtr-general] NUnitASP VS WATIR

2005-08-25 Thread Jan.Montano
I guess you're right. Thanks! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of saud azizSent: Thursday, August 25, 2005 2:48 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] NUnitASP VS WATIR I believe you need to have .dll fil