[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-15 Thread Alan Baird

Bret - 

I'm looking into this.  I see all of the plugins for Selenium and I'm expecting 
to see something like, Plugin for Ruby Test::Unit or Rspec.  

Ultimately, Hudson has to be able to understand my test results.  Is it a 
plugin that accomplishes that or do my tests need to emit XML?  If it's XML, 
how do you do that?

Thanks,
Alan

-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On 
Behalf Of Bret Pettichord
Sent: Wednesday, October 14, 2009 11:12 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Dwatir - Can this help running watir tests on remote 
machines?


Alan Baird wrote:
>> What are you already using?
>> 
> Pretty much what you described.  I wrote a rails front end with some *very* 
> simple views and wrapped that around a restful interface that a client ruby 
> script can interact with.  All it does is sends down some arguments to the VM 
> that it uses to call a command line to run all sorts of tests (rasta, rspec, 
> test-unit, etc.).  The reason it's clunky is that the normal unit test tools 
> don't have good interfaces for reporting up the results of tests (unless you 
> are running ci or something like that).  There are tools that have HTML 
> reports (like rspec), but it requires some tweaking of the reports to get it 
> to integrate nicely with a webpage (a skill I don't have yet).
>   
This is where hudson excels. You can also run tests manually through 
hudson (to answer the question you asked in a previous post). There is a 
"run now" button. I believe it is also scriptable.

Strongly urge you to take a look at it.

Bret

-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord




--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Guy

Thank U all.

The watir tool community is just great!!

I will probably look into Hudson as I can't write such a framework
myself.

Guy


On Oct 15, 12:12 pm, Bret Pettichord  wrote:
> Alan Baird wrote:
> >> What are you already using?
>
> > Pretty much what you described.  I wrote a rails front end with some *very* 
> > simple views and wrapped that around a restful interface that a client ruby 
> > script can interact with.  All it does is sends down some arguments to the 
> > VM that it uses to call a command line to run all sorts of tests (rasta, 
> > rspec, test-unit, etc.).  The reason it's clunky is that the normal unit 
> > test tools don't have good interfaces for reporting up the results of tests 
> > (unless you are running ci or something like that).  There are tools that 
> > have HTML reports (like rspec), but it requires some tweaking of the 
> > reports to get it to integrate nicely with a webpage (a skill I don't have 
> > yet).
>
> This is where hudson excels. You can also run tests manually through
> hudson (to answer the question you asked in a previous post). There is a
> "run now" button. I believe it is also scriptable.
>
> Strongly urge you to take a look at it.
>
> Bret
>
> --
> Bret Pettichord
> Lead Developer, Watir,www.watir.com
> Blog,www.io.com/~wazmo/blog
> Twitter,www.twitter.com/bpettichord
--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Bret Pettichord

Alan Baird wrote:
>> What are you already using?
>> 
> Pretty much what you described.  I wrote a rails front end with some *very* 
> simple views and wrapped that around a restful interface that a client ruby 
> script can interact with.  All it does is sends down some arguments to the VM 
> that it uses to call a command line to run all sorts of tests (rasta, rspec, 
> test-unit, etc.).  The reason it's clunky is that the normal unit test tools 
> don't have good interfaces for reporting up the results of tests (unless you 
> are running ci or something like that).  There are tools that have HTML 
> reports (like rspec), but it requires some tweaking of the reports to get it 
> to integrate nicely with a webpage (a skill I don't have yet).
>   
This is where hudson excels. You can also run tests manually through 
hudson (to answer the question you asked in a previous post). There is a 
"run now" button. I believe it is also scriptable.

Strongly urge you to take a look at it.

Bret

-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Alan Baird

> What are you already using?
Pretty much what you described.  I wrote a rails front end with some *very* 
simple views and wrapped that around a restful interface that a client ruby 
script can interact with.  All it does is sends down some arguments to the VM 
that it uses to call a command line to run all sorts of tests (rasta, rspec, 
test-unit, etc.).  The reason it's clunky is that the normal unit test tools 
don't have good interfaces for reporting up the results of tests (unless you 
are running ci or something like that).  There are tools that have HTML reports 
(like rspec), but it requires some tweaking of the reports to get it to 
integrate nicely with a webpage (a skill I don't have yet).

Alan

--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Nathan Lane
What are you already using?

On Wed, Oct 14, 2009 at 2:01 PM, Alan Baird wrote:

>  Actually, I already have on of them, and it’s kind of clunky (I built it
> on rails).
>
> But if somebody’s already coded something like that for Hudson, I’d rather
> maintain theirs. J
>
>
>
> Alan
>
>
>  --
>
> *From:* watir-general@googlegroups.com [mailto:
> watir-gene...@googlegroups.com] *On Behalf Of *Nathan Lane
> *Sent:* Wednesday, October 14, 2009 2:59 PM
>
> *To:* watir-general@googlegroups.com
> *Subject:* [wtr-general] Re: Dwatir - Can this help running watir tests on
> remote machines?
>
>
>
> In the past I had created a framework for just such a case. The framework
> is somewhat klunky, but the idea is that you have Ruby, Watir, and a test
> agent running on the remote machines, and then you have a master machine
> from which you tell the remote agents to run test x. I stored all of my
> tests as Globs in a database, so that I can update them on the fly, but the
> system itself is relatively simple. You could build one.
>
> On Wed, Oct 14, 2009 at 1:52 PM, Alan Baird 
> wrote:
>
>
> Bret -
>
> Can you use Hudson to distribute tests on command (as opposed to in
> conjunction with some sort of build event)?
>
> If so, I would be really interested in how you do that.
>
> Alan
>
>
> -Original Message-
> From: watir-general@googlegroups.com [mailto:
> watir-gene...@googlegroups.com] On Behalf Of Bret Pettichord
> Sent: Wednesday, October 14, 2009 1:50 PM
> To: watir-general@googlegroups.com
> Subject: [wtr-general] Re: Dwatir - Can this help running watir tests on
> remote machines?
>
>
> We use hudson to run our tests on multiple machines. It automatically
> distributes tests to an unused machine.
> http://hudson-ci.org/
>
> Guy wrote:
> > Hi All,
> >
> > Is there a way to run watir tests on remote machines (running few test
> > suites in parallel on remote machines)?
> >
> > I searched the web and came with Dwatir as a relevant option(?).
> > Unfortunately I couldn't figure how to use it.
> > I would appreciate an example of Dwatir or any other way to run watir
> > tests on remote machines.
> >
> > Cheers,
> >
> > Guy
>
>
>
>
>
>
>
> --
> Nathan Lane
> Blog, http://blog.nathandelane.com
>
>
> >
>


-- 
Nathan Lane
Blog, http://blog.nathandelane.com

--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Alan Baird
Actually, I already have on of them, and it's kind of clunky (I built it on 
rails).
But if somebody's already coded something like that for Hudson, I'd rather 
maintain theirs. :)

Alan


From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On 
Behalf Of Nathan Lane
Sent: Wednesday, October 14, 2009 2:59 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Dwatir - Can this help running watir tests on remote 
machines?

In the past I had created a framework for just such a case. The framework is 
somewhat klunky, but the idea is that you have Ruby, Watir, and a test agent 
running on the remote machines, and then you have a master machine from which 
you tell the remote agents to run test x. I stored all of my tests as Globs in 
a database, so that I can update them on the fly, but the system itself is 
relatively simple. You could build one.
On Wed, Oct 14, 2009 at 1:52 PM, Alan Baird 
mailto:alan.ba...@riskmetrics.com>> wrote:

Bret -

Can you use Hudson to distribute tests on command (as opposed to in conjunction 
with some sort of build event)?

If so, I would be really interested in how you do that.

Alan

-Original Message-
From: watir-general@googlegroups.com<mailto:watir-general@googlegroups.com> 
[mailto:watir-general@googlegroups.com<mailto:watir-general@googlegroups.com>] 
On Behalf Of Bret Pettichord
Sent: Wednesday, October 14, 2009 1:50 PM
To: watir-general@googlegroups.com<mailto:watir-general@googlegroups.com>
Subject: [wtr-general] Re: Dwatir - Can this help running watir tests on remote 
machines?


We use hudson to run our tests on multiple machines. It automatically
distributes tests to an unused machine.
http://hudson-ci.org/

Guy wrote:
> Hi All,
>
> Is there a way to run watir tests on remote machines (running few test
> suites in parallel on remote machines)?
>
> I searched the web and came with Dwatir as a relevant option(?).
> Unfortunately I couldn't figure how to use it.
> I would appreciate an example of Dwatir or any other way to run watir
> tests on remote machines.
>
> Cheers,
>
> Guy







--
Nathan Lane
Blog, http://blog.nathandelane.com


--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Nathan Lane
You can check out what there is at
http://code.google.com/p/adanna-scheduler/

On Wed, Oct 14, 2009 at 1:58 PM, Nathan Lane wrote:

> In the past I had created a framework for just such a case. The framework
> is somewhat klunky, but the idea is that you have Ruby, Watir, and a test
> agent running on the remote machines, and then you have a master machine
> from which you tell the remote agents to run test x. I stored all of my
> tests as Globs in a database, so that I can update them on the fly, but the
> system itself is relatively simple. You could build one.
>
>
> On Wed, Oct 14, 2009 at 1:52 PM, Alan Baird wrote:
>
>>
>> Bret -
>>
>> Can you use Hudson to distribute tests on command (as opposed to in
>> conjunction with some sort of build event)?
>>
>> If so, I would be really interested in how you do that.
>>
>> Alan
>>
>> -Original Message-
>> From: watir-general@googlegroups.com [mailto:
>> watir-gene...@googlegroups.com] On Behalf Of Bret Pettichord
>> Sent: Wednesday, October 14, 2009 1:50 PM
>> To: watir-general@googlegroups.com
>> Subject: [wtr-general] Re: Dwatir - Can this help running watir tests on
>> remote machines?
>>
>>
>> We use hudson to run our tests on multiple machines. It automatically
>> distributes tests to an unused machine.
>> http://hudson-ci.org/
>>
>> Guy wrote:
>> > Hi All,
>> >
>> > Is there a way to run watir tests on remote machines (running few test
>> > suites in parallel on remote machines)?
>> >
>> > I searched the web and came with Dwatir as a relevant option(?).
>> > Unfortunately I couldn't figure how to use it.
>> > I would appreciate an example of Dwatir or any other way to run watir
>> > tests on remote machines.
>> >
>> > Cheers,
>> >
>> > Guy
>>
>>
>>
>>
>> >>
>>
>
>
> --
> Nathan Lane
> Blog, http://blog.nathandelane.com
>



-- 
Nathan Lane
Blog, http://blog.nathandelane.com

--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Nathan Lane
In the past I had created a framework for just such a case. The framework is
somewhat klunky, but the idea is that you have Ruby, Watir, and a test agent
running on the remote machines, and then you have a master machine from
which you tell the remote agents to run test x. I stored all of my tests as
Globs in a database, so that I can update them on the fly, but the system
itself is relatively simple. You could build one.

On Wed, Oct 14, 2009 at 1:52 PM, Alan Baird wrote:

>
> Bret -
>
> Can you use Hudson to distribute tests on command (as opposed to in
> conjunction with some sort of build event)?
>
> If so, I would be really interested in how you do that.
>
> Alan
>
> -Original Message-
> From: watir-general@googlegroups.com [mailto:
> watir-gene...@googlegroups.com] On Behalf Of Bret Pettichord
> Sent: Wednesday, October 14, 2009 1:50 PM
> To: watir-general@googlegroups.com
> Subject: [wtr-general] Re: Dwatir - Can this help running watir tests on
> remote machines?
>
>
> We use hudson to run our tests on multiple machines. It automatically
> distributes tests to an unused machine.
> http://hudson-ci.org/
>
> Guy wrote:
> > Hi All,
> >
> > Is there a way to run watir tests on remote machines (running few test
> > suites in parallel on remote machines)?
> >
> > I searched the web and came with Dwatir as a relevant option(?).
> > Unfortunately I couldn't figure how to use it.
> > I would appreciate an example of Dwatir or any other way to run watir
> > tests on remote machines.
> >
> > Cheers,
> >
> > Guy
>
>
>
>
> >
>


-- 
Nathan Lane
Blog, http://blog.nathandelane.com

--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Alan Baird

Bret -

Can you use Hudson to distribute tests on command (as opposed to in conjunction 
with some sort of build event)?

If so, I would be really interested in how you do that.

Alan

-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On 
Behalf Of Bret Pettichord
Sent: Wednesday, October 14, 2009 1:50 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Dwatir - Can this help running watir tests on remote 
machines?


We use hudson to run our tests on multiple machines. It automatically 
distributes tests to an unused machine.
http://hudson-ci.org/

Guy wrote:
> Hi All,
>
> Is there a way to run watir tests on remote machines (running few test
> suites in parallel on remote machines)?
>
> I searched the web and came with Dwatir as a relevant option(?).
> Unfortunately I couldn't figure how to use it.
> I would appreciate an example of Dwatir or any other way to run watir
> tests on remote machines.
>
> Cheers,
>
> Guy




--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Bret Pettichord

We use hudson to run our tests on multiple machines. It automatically 
distributes tests to an unused machine.
http://hudson-ci.org/

Guy wrote:
> Hi All,
>
> Is there a way to run watir tests on remote machines (running few test
> suites in parallel on remote machines)?
>
> I searched the web and came with Dwatir as a relevant option(?).
> Unfortunately I couldn't figure how to use it.
> I would appreciate an example of Dwatir or any other way to run watir
> tests on remote machines.
>
> Cheers,
>
> Guy


--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Dwatir - Can this help running watir tests on remote machines?

2009-10-14 Thread Paul Rogers
first Ive heard of that project ( http://rubyforge.org/projects/dwatir/ )
Ive used watir remotely by using remote desktop.

Paul

On Wed, Oct 14, 2009 at 9:41 AM, Guy  wrote:

>
> Hi All,
>
> Is there a way to run watir tests on remote machines (running few test
> suites in parallel on remote machines)?
>
> I searched the web and came with Dwatir as a relevant option(?).
> Unfortunately I couldn't figure how to use it.
> I would appreciate an example of Dwatir or any other way to run watir
> tests on remote machines.
>
> Cheers,
>
> Guy
> >
>

--~--~-~--~~~---~--~~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---