Re: [Wtr-general] Executing all scripts at a time

2007-03-02 Thread Jason He
I use load method, such as, Load 'test1.rb' Load 'test2.rb' Load 'test3.rb', etc These test cases could run one after one and there is only one window brought up, although the running sequence is not according to the line sequence written in the script. One thing maybe need to pay attention

[Wtr-general] How to Pass values from Excel into variables in Watir ?

2007-03-02 Thread swarna latha
How can I achieve this? For example i have a list of data say urls entered in an excel sheet, that need to be passed into a variable in a method or function of watir .That is to get the values from an excel spreadsheet into the variable ? Any help or pointers is very much appreciated. Thanks

Re: [Wtr-general] Executing all scripts at a time

2007-03-02 Thread Naga Harish Kanegolla
Hi, Its working, The problem is I gave $ie=Watir::IE.new in every file, so that is the reason i am getting all the files. Now its working with both require and load, Thank you, Harish - Posted via Jive Forums

Re: [Wtr-general] How to Pass values from Excel into variables in Watir ?

2007-03-02 Thread Ċ½eljko Filipin
Take a look at http://wiki.rubygarden.org/ruby/page/show/ScriptingExcel That page seems to be off line, but there is Google cache page http://www.google.com/search?q=cache:tEaxL9sKYdQJ:wiki.rubygarden.org/ruby/page/show/ScriptingExcel+ScriptingExcelhl=enclient=firefox-astrip=1 -- Zeljko Filipin

Re: [Wtr-general] How to Pass values from Excel into variables in Watir ?

2007-03-02 Thread Angrez Singh
Hi, This question has been asked couple of times in this list. You can search the archives for the answers/code snippets etc. Bret: I think we should add this to FAQ page. Shall I update the FAQ page? Regards, Angrez On 3/2/07, swarna latha [EMAIL PROTECTED] wrote: How can I achieve this?

[Wtr-general] Converting into LOG

2007-03-02 Thread Naga Harish Kanegolla
Hi all, Right now I am able to test all my test cases, and i am getting the out put lines in the console. Is there any possibility to get the whole out put and the test pass or fail result etc into a LOGfile so that it can be sent as an email. I tried for the reports in the page

Re: [Wtr-general] How to Pass values from Excel into variables in Watir ?

2007-03-02 Thread Charley Baker
Hey Angrez, I'd be more than happy if you were to add this to the FAQ. -Charley On 3/2/07, Angrez Singh [EMAIL PROTECTED] wrote: Hi, This question has been asked couple of times in this list. You can search the archives for the answers/code snippets etc. Bret: I think we should add this

Re: [Wtr-general] Converting into LOG

2007-03-02 Thread Charley Baker
Hi Harish, You can use test-report or ci-reporter on rubyforge to output your results. My tests are hooked up through Cruise Control on a continuous integration server which picks up the reports, sends out email and can also display logs in the Cruise Control build artifacts on the ci box cc

Re: [Wtr-general] Selecting an 'accented character' from a list

2007-03-02 Thread Paul Carvalho
Hi John, this may or may not be useful but when I work with accented items like these, I treat them like a black box. That is, I don't look into the box to see how Ruby translates them .. which may or may not be how Ruby really sees them. In your select_list, can you refer to that service name

Re: [Wtr-general] Converting into LOG

2007-03-02 Thread Adam Reed
Thanks for the heads up on CruiseControl. I was happy with my current logging/notification, but this looks like a great alternative! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker Sent: Friday, March 02, 2007 11:14 AM To:

[Wtr-general] Excel Interface Class

2007-03-02 Thread Brown, David
I've posted an Excel Interface class which I've developed over the past few months on the Watir openqa.org site under contributions: http://wiki.openqa.org/display/WTR/Excel+interface+class This class provides simple methods for reading data records from Excel spreadsheets, hides the complexities

Re: [Wtr-general] Excel Interface Class

2007-03-02 Thread Chris McMahon
Bravo! -C On 3/2/07, Brown, David [EMAIL PROTECTED] wrote: I've posted an Excel Interface class which I've developed over the past few months on the Watir openqa.org site under contributions: http://wiki.openqa.org/display/WTR/Excel+interface+class This class provides simple methods for

Re: [Wtr-general] A small doubt in Ruby

2007-03-02 Thread vijay
Thank you Zeljko Filipin. I did not know about this '.dup' method before. That was an useful information. But is what Ruby doing (pointing two different variables to one string just because one variable's value was assigned to another in the previous step) correct? Shouldn't it consider the