[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] TestGen4Ruby (tg4rb) 0.0.2 Released

Helder Ribeiro

7/11/2007 7:57:00 AM

Here's my Google Summer of Code offspring!!! =D If you find any
problem with the code or the documentation, please send an email to
the tg4rb mailing list or post an issue in our issue tracker. I'm off
to Peru today, so I might not check email too often, but I'll try my
best to keep up. Enjoy!

* <by Helder Ribeiro>
* <(http://code.google.c...)>

## FEATURES:

* takes an XML with actions from tg4w and outputs stand-alone Ruby
code that can be run directly or embedded into existing code (e.g. for
test automation).
* can be used as a library or as an executable script.
* takes the xpath from tg4w and uses only enough info to guarantee the
uniqueness of the referenced element, allowing the generated script to
keep working even with some change to page structure.

## PROBLEMS:

* the generated code is damn ugly.
* a few action types from the XML input still aren't recognized.
* some dependencies aren't very clearly sorted out yet. you might find
you need something that is not specified. if yes, please report this
as an issue in our issue tracker.
* i don't know, try to find more and let me know =)

## SYNOPSIS:

Changes:

## 0.0.2 / 2007-07-09
* fixed silly import problem on generated script

## 0.0.1 / 2007-07-09
- Birthday
* <by Helder Ribeiro>
* <(http://code.google.c...)>


--
http://obvio171.wor...

1 Answer

Helder Ribeiro

7/11/2007 5:55:00 PM

0

Tomas Pospisek pointed out that the release doesn't really say what
TestGen4Ruby does. Sorry about that. :)

TestGen4Web (http://developer.spikesource.com/wiki/...
title=Projects:TestGen4Web) is a Firefox extension that records user
action on a webpage and records them into an XML file.

TestGen4Ruby (what is being released here) takes that files and
translates those actions into executable code that uses the library
FireWatir.

FireWatir (http://code.google.com/p...) provides a way to
control an instance of Firefox through code like
ff.button(:name,"foo").click.

There are more detailed instructions and a little tutorial for
TestGen4Ruby at http://code.google.c... . Hope that helps.
Thanks for the feedback Tomas :)

On Jul 11, 4:56 am, "Helder Ribeiro" <hel...@gmail.com> wrote:
> Here's my Google Summer of Code offspring!!! =D If you find any
> problem with the code or the documentation, please send an email to
> the tg4rb mailing list or post an issue in our issue tracker. I'm off
> to Peru today, so I might not check email too often, but I'll try my
> best to keep up. Enjoy!
>
> * <byHelderRibeiro>
> * <(http://code.google.c...)>
>
> ## FEATURES:
>
> * takes an XML with actions from tg4w and outputs stand-alone Ruby
> code that can be run directly or embedded into existing code (e.g. for
> test automation).
> * can be used as a library or as an executable script.
> * takes the xpath from tg4w and uses only enough info to guarantee the
> uniqueness of the referenced element, allowing the generated script to
> keep working even with some change to page structure.
>
> ## PROBLEMS:
>
> * the generated code is damn ugly.
> * a few action types from the XML input still aren't recognized.
> * some dependencies aren't very clearly sorted out yet. you might find
> you need something that is not specified. if yes, please report this
> as an issue in our issue tracker.
> * i don't know, try to find more and let me know =)
>
> ## SYNOPSIS:
>
> Changes:
>
> ## 0.0.2 / 2007-07-09
> * fixed silly import problem on generated script
>
> ## 0.0.1 / 2007-07-09
> - Birthday
> * <byHelderRibeiro>
> * <(http://code.google.c...)>
>
> --http://obvio171.wor...