openttd-robot work on the top of openttd-admin, it's purpose is to apply rules to the game.
There is actually some rules built-in rules and of course it's extensible.
Usage instruction :
open openttd.cfg and set an admin password :
admin_password = my_password
run a dedicated server :
openttd -D
run a client :
openttd -n 127.0.0.1
Launch the Hello World test
java -jar openttd-robot.jar com.openttd.robot.HelloWorldTest