Informatika Mihelac

Articles tagged with castanaut

July 01 2008 castanaut

Programmable screencasts

Here is screencast, how Gmaplocation Drupal module looks and feels on one website:

The video is created with Castanut, tool that allows one to write script that will move mouse, open webpages, enter text and record all this into the screencast. Castanaut scripts are written in Ruby and commands are scripts are relatively easy to write.

Here is excerpt of the script:

#!/usr/bin/env castanaut
ishowu_start_recording
move to_element('a[title="Adjust basic site configuration options."]')
click
pause PageLoadTime
move to_element('a[title="Configure Google Maps location."]')
click
pause PageLoadTime
move to_element('[id="edit-gmaplocation-address"]')
click

Please note, that it is MacOSX Leopard only tool (there is a fork on GitHub that allows it to be used with 10.4 thought).

I had some problems with dissapearing mouse cursor using Snapz Pro X capture tool and it draws up that Snapz Pro X is currently not ready to be used together with scripting yet. Guys in Ambrosia Software are working on the next generation and it would probably allow Snapz Pro X to be used with Castanaut . On the end of the day I bought iShowU which did not had any problems.

About

I am Bojan Mihelac and this blog is dedicated to share code, thoughts, tools and advices I came up with while working in Informatika Mihelac.

Contact: bmihelac@mihelac.org

RSS feedSubscribe to RSS Feed