Re: [ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-24 Thread Gunther Birznieks

If you guys end up finally collaborating, one very minor request I would 
have is that it goes into CPAN as something more standard like WWW:: 
namespace rather than a marketing name like RoboWeb.

RoboWeb is actually a good product name (and in fact do a search on google 
for other tools with a RoboWeb label attached to them), but it really opens 
up room for misinterpretation in the future. And personally, I think these 
seem like indispensable tools that should be a standard CPAN addition. 
Calling it RoboWeb on CPAN will make it as confusing as figuring out which 
template solution to use -- but I suspect that web testing features can be 
fairly standardized (unlike templates).

At 11:53 AM 7/23/2001 +0400, Ilya Martynov wrote:

  We should investigate how these 2 projects can work together when I'm
  done so that RoboWeb 'recorded' sessions can create WWW::Automate methods
  that utilise the structure of the page. The benefits of doing this are:
  1- Resultant scripts are easier to interpret
  2- Scripting apps that vary their form field names works.

CG [..skip..]

CG I look forward to seeing WWW::Automate and to working together on this.

I've recently become maintainer of another testing module
HTTP::WebTest. Stable version (released on CPAN) already has many
interesting features (like response time tests, text matching tests,
content size checks, support for both remote web server and local test
modes). I'm working on its rewrite in modular style where tests
modules are pluggable so it will be easily extendable. After finishing
with it I thought about writhing proxy that records users actions and
produces skeleton of test.

Maybe joining our efforts have some sense.

--
  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)|
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)  |
  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

__
Gunther Birznieks ([EMAIL PROTECTED])
eXtropia - The Open Web Technology Company
http://www.eXtropia.com/




Re: [ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-23 Thread Ilya Martynov


 We should investigate how these 2 projects can work together when I'm
 done so that RoboWeb 'recorded' sessions can create WWW::Automate methods
 that utilise the structure of the page. The benefits of doing this are:
 1- Resultant scripts are easier to interpret
 2- Scripting apps that vary their form field names works.

CG [..skip..]

CG I look forward to seeing WWW::Automate and to working together on this.

I've recently become maintainer of another testing module
HTTP::WebTest. Stable version (released on CPAN) already has many
interesting features (like response time tests, text matching tests,
content size checks, support for both remote web server and local test
modes). I'm working on its rewrite in modular style where tests
modules are pluggable so it will be easily extendable. After finishing
with it I thought about writhing proxy that records users actions and
produces skeleton of test.

Maybe joining our efforts have some sense.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)|
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)  |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: [ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-23 Thread Joshua Chamas

Ilya Martynov wrote:
 
  We should investigate how these 2 projects can work together when I'm
  done so that RoboWeb 'recorded' sessions can create WWW::Automate methods
  that utilise the structure of the page. The benefits of doing this are:
  1- Resultant scripts are easier to interpret
  2- Scripting apps that vary their form field names works.
 

FYI, during my Apache::ASP presentation today at the OSS
conference in San Diego, I recommended both HTTP::WebTest
and RoboWeb for regression testing a site.  Someone from 
the audience asked where they could find pricing information 
on these tools :)

--Josh

_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks Founder   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Re: [ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-20 Thread jh_lists

 I have developed a semi-automatic test generator for web applications.
 I've called it RoboWeb and it's now available for download from
 sourceforge, hoping that it can be useful to others.
 
Unbelievable... Three days ago I looked for something suitable for
writing test suites and came up a blank, so for the last 3 days I've been
writing WWW::Automate. And now this great looking package appears when
I'm 75% done!

Anyhow, I'll finish what I'm doing over the weekend and release it, since
it has some different functionality to RoboWeb, including finding form
elements to fill in based on their relationship to other elements (e.g.
the text field after the text 'User Name:' or The checkbox in the
table column headed 'Flag', in the 3rd row).

We should investigate how these 2 projects can work together when I'm
done so that RoboWeb 'recorded' sessions can create WWW::Automate methods
that utilise the structure of the page. The benefits of doing this are:
 1- Resultant scripts are easier to interpret
 2- Scripting apps that vary their form field names works.

-- 
  Jeremy Howard
  [EMAIL PROTECTED]



Re: [ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-20 Thread Stas Bekman

On Fri, 20 Jul 2001 [EMAIL PROTECTED] wrote:

  I have developed a semi-automatic test generator for web applications.
  I've called it RoboWeb and it's now available for download from
  sourceforge, hoping that it can be useful to others.
 
 Unbelievable... Three days ago I looked for something suitable for
 writing test suites and came up a blank, so for the last 3 days I've been
 writing WWW::Automate. And now this great looking package appears when
 I'm 75% done!

Long time ago I've started working on Apache::Benchmark, but have never
had a chance to finish it. The first working prototype is available from
here: http://stason.org/works/modules/Apache-Benchmark-0.01.tar.gz (but
was never released on CPAN).

One of these days I'll get back to work on and probably base it on
Apache::Test or even merge it in, since the two have a lot in common.

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/





[ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-19 Thread Claudio Garcia


I have developed a semi-automatic test generator for web applications.
I've called it RoboWeb and it's now available for download from
sourceforge, hoping that it can be useful to others.

The project page at sourceforge is
http://sourceforge.net/projects/roboweb.

Here's an excerpt from the README, and after it a comparison with
Test::CGI, which is a tool at CPAN whose intent is similar.

  RoboWeb is a suite of Perl scripts that allow for  recording live user
browsing sequences and insert assertions during them to later reproduce
and automatically verify correctness of output of a web application.

  Recording test sequences is easy: just fire the roboweb_proxy script
and make your browser point to it. The proxy will generate a test
sequence script as you browse and you can insert must_match  commands
in the recorded sequence by entering regular expressions directly in
your browser's URL box. These commands get translated into assertions
that will be run against the server response text when the sequences are
reproduced, to verify that server responses are correct.

  RoboWeb will also automatically put your web application backend
database in a constant 'test-scenario' state before recording test
sequences and before executing  test scripts. This allows for reliable
testing of complex web applications.

  Also, the recorded test sequence scripts support cookies, which allows
them to interact successfully with most web application.

  After you collect a number of test sequences you can execute them via
the TEST script, which will produce standard perl Test::Harness output.


COMPARISON WITH THE Test::CGI MODULE

The intent of Test::CGI is almost the same. It's about crafting test
sequences that will be run against a web application in an automated
fashion.  The main differences I see between both approaches are:

1. RoboWeb makes it much easier to generate a test suite, because test
sequence scripts under it are almost completely machine generated,
except assertions, which are easily inserted by entering regexps in the
URL box as you browse through your app. Test::CGI instead requires that
all HTTP requests be hand coded by the test writer.

2. RoboWeb runs against a live web server, versus Test::CGI, which runs
web apps as standalone CGI processes. Test::CGI is less complete in this
regard, because it doesn't allow to test apps in the environment they'll
be running on (e.g. mod_perl apps that rely on persitent variables are
not testable with Test::CGI).

3. The RoboWeb client (which uses LWP::UserAgent and an HTTP::Cookie
jar) supports cookies, which allow it to test most web applications.
Test::CGI does not support cookies.

4. Test::CGI cannot request plain documents, whereas Roboweb can.

5. Both RoboWeb and Test::CGI produce Test::Harness output.


Regards,

Claudio Garcia