Forum: Ruby TestGen4Ruby (tg4rb) 0.0.2 Released

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Helder R. (Guest)
on 2007-07-11 11:58
(Received via mailing list)
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 R.>
* <(>


* 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.


* 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 =)



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

## 0.0.1 / 2007-07-09
- Birthday
* <by Helder R.>
* <(>
Helder R. (Guest)
on 2007-07-11 22:01
(Received via mailing list)
Tomas P. pointed out that the release doesn't really say what
TestGen4Ruby does. Sorry about that. :)

TestGen4Web (
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 ( provides a way to
control an instance of Firefox through code like

There are more detailed instructions and a little tutorial for
TestGen4Ruby at . Hope that helps.
Thanks for the feedback Tomas :)
This topic is locked and can not be replied to.