From: Alexey Verkhovsky Date: 2005-01-14T06:19:56+09:00 Subject: Re: [Q] Web Testing in Ruby Laurent Julliard wrote: > Sorry if this question has already been asked 200 times... I'm trying > to find a Ruvby package that would allow us to test a web based > application directly through the Web interface. The idea here is that > the Ruby testing application would basically behave like a web browser > : GET/POST requests, manipulate HTML forms received as objects so > that it is easy to fill them out and send them back to the server > > Any pointer or suggestions would be really helpful > > Thanks! First of all, there is Net::HTTP library in the Ruby standard library that lets you do the basic stuff - get, post, etc. Combining it with test/unit (also a standard library in Ruby) you can come up with a decent test suite, provided that your app doesn't rely on any browser scripting (like Javascript or applets). Then there is WATIR - this is something that "talks" to an Internet Explorer via COM interface. Much more complex and fragile, but the only way to go if you want to behaviors implemented by browser-side scripting. Alex