[wtr-general] Re: Test Environment setup : VMWare

2008-10-16 Thread Tony

Hi Natasha,

I haven't tried anything like this, but you could create an exe file
using rubyscrip2exe.
Hence the need to install ruby and watir would not be there. Just run
the exe to execute all your testscripts.

-Tony
--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Hom Make the RDoc support the unicode character, like Chinese, Japanese?

2008-10-16 Thread Yohei

Hi,

Can't you simply use Rdoc's --charset option?

Regards,
Yohei

On Oct 15, 8:44 pm, bugs apple [EMAIL PROTECTED] wrote:
 Hi, all

 After developing more function using ruby, and generated the Rdoc, we find
 out the RDoc don't support for the chinese code. My question is that how to
 set up the rdoc character set so that the unicode character normally appear
 on page?

 Thanks,
 -Wiston
--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How do i attach Web page dialog to my script

2008-10-16 Thread Ramana Reddy
Thanks for your reply but there no solution to attach model dialog boxes

Ramana

On Thu, Oct 16, 2008 at 5:39 AM, Željko Filipin [EMAIL PROTECTED]wrote:

 On Thu, Oct 16, 2008 at 2:35 PM, Ramana Reddy [EMAIL PROTECTED]
 wrote:
  I am facing the problem on attaching Web page dialog

 Have you seen this?

 http://wiki.openqa.org/display/WTR/Pop+Ups

 Željko
 --
 http://watirpodcast.com/bret-pettichord-on-firewatir/

 


--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Test Environment setup : VMWare

2008-10-16 Thread Natasha

Thanks Tony.

On Oct 16, 11:22 am, Tony [EMAIL PROTECTED] wrote:
 Hi Natasha,

 I haven't tried anything like this, but you could create an exe file
 using rubyscrip2exe.
 Hence the need to install ruby and watir would not be there. Just run
 the exe to execute all your testscripts.

 -Tony
--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Building a gem from trunk / watir-common

2008-10-16 Thread Bret Pettichord

You'll need to gem install hoe before building watir-common. And then 
you'll need to install it, before installing Watir.

Bret

Jeff Fry wrote:
 Corrected below

 On Wed, Oct 15, 2008 at 10:39 PM, Jeff Fry [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 OK, I'm getting closer - I've checked out from 1 level up and so
 now have watir-common. I just


 I created a gem  #this is what I meant to paste here:
 C:\dev\watirgem build watir.gemspec
   Successfully built RubyGem
   Name: watir
   Version: 1.5.6
   File: watir-1.5.6.gem


 ...and then tried the following:

 C:\dev\watir-commonrake gem
 (in C:/dev/watir-common)
 rake aborted!
 no such file to load -- hoe
 C:/dev/watir-common/rakefile:2
 (See full trace by running task with --trace)

 I tried the same thing in /watir, which succeeded...


 C:\dev\watirrake gem
 (in C:/dev/watir)
 mkdir -p pkg
   Successfully built RubyGem
   Name: watir
   Version: 1.5.6
   File: watir-1.5.6.gem
 mv watir-1.5.6.gem pkg/watir-1.5.6.gem

 ...but still doesn't get watir to build for me:


 C:\dev\watir\pkggem install watir-1.5.6.gem --local
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 Bret or others, can you help me find the error of my ways?

 I'll be happy to get this onto the wiki in greater detail.

 Thanks,
 Jeff



 On Tue, Oct 14, 2008 at 12:08 AM, Jeff Fry [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 From IRC:

 [23:02]   jfry  Hey there, have any of you built a gem
 locally from the watir trunk?
 [23:02]   jfry  I've done it successfully a long time back, I
 think.
 [23:02]   jfry  Just tried now and got:
 [23:02]   jfry  ERROR: Error installing watir-1.5.6.gem:
 [23:02]   jfry  watir requires watir-common (= 0)
 [23:02]   jfry  Does that mean anything to you?
 [23:07]   pettichordhi there
 [23:08]   pettichordyou'll also need to build the
 watir-common gem
 [23:08]   pettichordrake gem in the watir-common directory


 I've searched for a directory called common or watir-common
 and came up blank. I also tried:
 C:\dev\watirrake gem
 ...Which created a pkg directory, containing
 10/13/2008  11:12 PM   254,464 watir-1.5.6.gem

 ...but clearly I'm missing something because both of the
 following still fail for me:

 C:\dev\watir\pkggem install watir-1.5.6.gem
 Bulk updating Gem source index for: http://gems.rubyforge.org/
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 C:\dev\watir\pkggem install watir-1.5.6.gem --local
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 What am I missing?

 Thanks,

 -- 
 Jeff Fry

 http://testingjeff.wordpress.com
 http://associationforsoftwaretesting.org




 -- 
 Jeff Fry

 http://testingjeff.wordpress.com
 http://associationforsoftwaretesting.org




 -- 
 Jeff Fry

 http://testingjeff.wordpress.com
 http://associationforsoftwaretesting.org

 


--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Any good conferences this year about watir/ruby/rspec?

2008-10-16 Thread Bret Pettichord

I expect to announce an AWTA workshop to be held Jan 16-18 shortly. It 
will be in Austin and will focus on Watir.

http://awta.wikispaces.com/

juuser wrote:
 Hello.

 Sorry for this little offtopic question, but I was wondering if anyone
 happens to know if there's any good conferences coming up about watir
 or ruby or rspec in this year where I could attend to?

 Or any good website where such things are listed or something similar.

 All suggested conferences should not take place before one month from
 now (employer needs some time to get good plane tickets and so on).
 
   


--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How to use Watir::Exception::TimeOutException

2008-10-16 Thread chethan sarathy
Thanks Alan,

I have one doubt pls clarify this.

If i define this in one common place(say some lib file) this will take effect 
for all the time out scenarios..

Eg: some time scripts will be expecting one pop up or unwanted pop up comes it 
couldn't under stand what to do with new pop up. these kind of scenarios

Regards,
Chethan

--- On Thu, 16/10/08, Alan Baird [EMAIL PROTECTED] wrote:
From: Alan Baird [EMAIL PROTECTED]
Subject: [wtr-general] Re: How to use Watir::Exception::TimeOutException
To: watir-general@googlegroups.com
Date: Thursday, 16 October, 2008, 7:52 PM

Chethan -

Here is another way to add a generic timeout to any task using the
Timeout class.

require 'timeout'

n = 0

begin
  Timeout::timeout(5) do
loop do
  puts n
  n += 1
  sleep (0.5)
end
  end
rescue Timeout::Error
  p oops timeout!!
  #~ exit
end

p the end





  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Any good conferences this year about watir/ruby/rspec?

2008-10-16 Thread Željko Filipin
On Thu, Oct 16, 2008 at 4:59 PM, Bret Pettichord [EMAIL PROTECTED]
wrote:
 I expect to announce an AWTA workshop to be held Jan 16-18 shortly. It
 will be in Austin and will focus on Watir.

With a little luck, maybe I drop by to record a podcast or two. :)

Željko
--
http://watirpodcast.com/bret-pettichord-on-firewatir/

--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Test Environment setup : VMWare

2008-10-16 Thread Manish Sapariya

Can you send the exact error message?
We run all of our tests (watir, windows gui test) on more
than one machines using drb.

Regards,
Manish


Tony wrote:
 Hi Yohei,
 
 I had tried to use druby earlier and just couldn't get it to work.
 Kept giving me some access error, when trying to execute them.
 
 Idea seems very interesting to use a set of vmware or virtualboxes to
 run your scripts with a request.
 Was always trying to get my scripts to remotely execute ... will give
 it a try again .. :)
 Could you point me to some sites where i could get a better
 understanding of druby?
 
 Regards,
 Tony
  
 

--~--~-~--~~~---~--~~
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 posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---