------art_12876_7216701.1161741753462
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 10/24/06, Hal Fulton <hal9000 / hypermetrics.com> wrote:
>
> I know there's Watir or something... but I'm not using
> IE (rather Firefox) and I don't want to "control the
> browser" per se...
>
> Rather I want to automate some repetitive tasks... like
> go to a form, fill in a couple of fields, click a checkbox,
> pick from a dropdown, and click on Save.
>
> How would you do this?


If I were going to do it in a browser, I'd use Selenium RC [1] along with
the included selenium.rb to do things like this:

|   selenium  elenium::SeleneseInterpreter.new("localhost", 4444,
"*firefox", "http://www.google.com/", 10000);
|   selenium.start
|   selenium.open "http://www.google.com/"
|   browser.type "name, "ruby"
|   browser.click_and_wait "nameG"

Cheers,
/Nick

[1] http://www.openqa.org/selenium-rc/

------art_12876_7216701.1161741753462--