[wtr-general] new_process fails with an ArgumentError - wrong number of arguments (1 for 0)

2008-11-06 Thread SH
My class extends IE - (and has an initialize method - see snippet below) class Cats < Watir::IE In my scripts I create a new_process cats = Cats.new_process This worked fine last time I ran it a month ago. Now I get this error c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ie.rb:126:in `ini

[wtr-general] Website Update -- Where do we put the install notes?

2008-11-06 Thread Bret Pettichord
We have updated the Watir Website at http://wtr.rubyforge.org All the pages have been updated -- except the install notes, which need a lot of work to update them for Watir 1.6 I think what I want to do is to point from the Installation page to this page on the Wiki http://wiki.openqa.org/disp

[wtr-general] Re: Possible issues with 1.6.1

2008-11-06 Thread Bret Pettichord
Can you give me more information about the context for this error? MHwee wrote: > I got different from 1.6.1. > > e:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ > core_ext/m > odule/introspection.rb:57:in `const_get': no such file to load -- > safariwatir (M > issingSource

[wtr-general] Re: Setting up Watir with Cruisecontrol.net

2008-11-06 Thread Bret Pettichord
Several of us have done this in the past. I know I wrote a blog post about this, and so did Charley. Should be available via google. Bret Fatema Karim wrote: > Thank you very much. I will give this a try. > > On Wed, Nov 5, 2008 at 11:34 PM, James <[EMAIL PROTECTED] >

[wtr-general] Re: Setting up Watir with Cruisecontrol.net

2008-11-06 Thread Fatema Karim
Thank you very much. I will give this a try. On Wed, Nov 5, 2008 at 11:34 PM, James <[EMAIL PROTECTED]> wrote: > > Hi, > > Here is the note for setting up CruiseControl to run rWebUnit (an > extension of Watir) acceptance tests. > http://myorganized.info/public/zhimin/solution/154 > > Cheers, >

[wtr-general] Re: Possible issues with 1.6.1

2008-11-06 Thread MHwee
I got different from 1.6.1. e:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ core_ext/m odule/introspection.rb:57:in `const_get': no such file to load -- safariwatir (M issingSourceFile) from e:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/ active_suppo rt/cor

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Bret Pettichord
Just so you know, this requirement results from a fairly major change in structure to Watir that most users should not have to worry about. However, anyone, like Michael, who is monkey-patching (which is the term of art for modifying existing Watir classes), will need to "require 'watir/ie'"

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Michael Hwee
Yes, that works now. Thanks, Bret. - Original Message From: Bret Pettichord <[EMAIL PROTECTED]> To: watir-general@googlegroups.com Sent: Thursday, November 6, 2008 11:11:09 AM Subject: [wtr-general] Re: Getting error at installing 1.6.1 You will need to add this line to your code:

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Bret Pettichord
You will need to add this line to your code: require 'watir/ie' Bret Michael Hwee wrote: > Not sure what is causing the custom element extension. > > Any idea? > > c:\>gem list watir > > *** LOCAL GEMS *** > > watir (1.6.1) > > c:\>irb > irb(main):001:0> require 'watir' > => true > irb(main):0

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Michael Hwee
Not sure what is causing the custom element extension. Any idea? c:\>gem list watir *** LOCAL GEMS *** watir (1.6.1) c:\>irb irb(main):001:0> require 'watir' => true irb(main):002:0> module Watir irb(main):003:1> class Strong < NonControlElement irb(main):004:2> TAG = 'STRONG' irb(main

[wtr-general] Watir 1.6.2 has been uploaded to Rubyforge

2008-11-06 Thread Bret Pettichord
I have uploaded Watir/FireWatir 1.6.2 to Rubyforge. You can download it from there now. It should propigate to the gem server shortly, at which time you can just "gem install watir" to install it. Bret --~--~-~--~~~---~--~~ You received this message because you

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Bret Pettichord
Michael Hwee wrote: > Do I have to install watir-common gem? no --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before postin

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Michael Hwee
Do I have to install watir-common gem? - Original Message From: Bret Pettichord <[EMAIL PROTECTED]> To: watir-general@googlegroups.com Sent: Thursday, November 6, 2008 9:59:06 AM Subject: [wtr-general] Re: Getting error at installing 1.6.1 It looks like there was a non-critical err

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Jim Matthews
I believe I have gotten that error message every time I installed Builder. It occurs while building the documentation and does not affect how builder functions. It should work OK in spite of the error. Jim On Nov 6, 11:56 am, Michael Hwee <[EMAIL PROTECTED]> wrote: > Hi Bret, > > Followed instr

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-06 Thread Bret Pettichord
It looks like there was a non-critical error creating the doc for one of the gems. Bret Michael Hwee wrote: > Hi Bret, > > Followed instructions at http://wiki.openqa.org/display/WTR/Development+Builds > > Then, got following error at 'gem install watir'. Any idea? > > ERROR: While generatin

[wtr-general] Getting error at installing 1.6.1

2008-11-06 Thread Michael Hwee
Hi Bret, Followed instructions at http://wiki.openqa.org/display/WTR/Development+Builds Then, got following error at 'gem install watir'. Any idea? ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="" ... RDOC args: --ri --op e:/

[wtr-general] Re: Firewatir frame problem

2008-11-06 Thread bmorzos
defect-id = WTR-268 thanks again On Nov 6, 8:59 am, Bret Pettichord <[EMAIL PROTECTED]> wrote: > This sounds like a bug. > > Please go ahead and log it in Jira. > > You can also provide a fix if you have one. > > Bret > > bmorzos wrote: > > I have this code: > > > if (browser.frame(:name, "viewer

[wtr-general] Re: urgent help for table issue

2008-11-06 Thread Michael Hwee
Right. In that case, you want to do exists? on 'row' first. ie.table(:class,'table1').[2].exists? && ie.table(:class,'table1').[2][1].exists? - Original Message From: Tony <[EMAIL PROTECTED]> To: Watir General Sent: Wednesday, November 5, 2008 11:05:58 PM Subject: [wtr-general] Re:

[wtr-general] Re: urgent help for table issue

2008-11-06 Thread Michael Hwee
Did you try ie.table(:class,'table1')[2][1].exists? -- note: including the '?' - Original Message From: meaculpa <[EMAIL PROTECTED]> To: Watir General Sent: Wednesday, November 5, 2008 9:46:38 PM Subject: [wtr-general] urgent help for table issue hi all, I have a table with some

[wtr-general] Re: Code to write into Excel format

2008-11-06 Thread Furthurflow
I haven't really worked with gmail, but a great resource for Ruby & Excel can be found at: http://rubyonwindows.blogspot.com/search/label/ruby Also check out: http://wiki.openqa.org/display/WTR/Examples this page does have info on gmail & Excel. Hope that helps, Mike... On Nov 6, 2:55 am, kudo

[wtr-general] Re: Firewatir frame problem

2008-11-06 Thread Bret Pettichord
This sounds like a bug. Please go ahead and log it in Jira. You can also provide a fix if you have one. Bret bmorzos wrote: > I have this code: > > if (browser.frame(:name, "viewer").exists?) > puts("Found viewer frame") > viewerFrame = browser.frame(:name, "viewer") > e

[wtr-general] Firewatir frame problem

2008-11-06 Thread bmorzos
I have this code: if (browser.frame(:name, "viewer").exists?) puts("Found viewer frame") viewerFrame = browser.frame(:name, "viewer") else puts("Did not find viewer frame") viewerFrame = nil end When the frame is not found I am getting an exception; E

[wtr-general] Code to write into Excel format

2008-11-06 Thread kudos
I am new to Ruby.Can any one help me regarding how to write the script in ruby for my gmail information to be presented in to excel format ASAP. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Wa