[twill] Best place to get started?

Terry Peppers peppers at gmail.com
Wed Oct 27 06:42:37 PDT 2010


Mart -

> As of this morning, I didn't know what twill was.

Welcome.

> Zenoss has a feature which looks like it lets us run twill scripts and report on the availability
> of applications.

Great. This should be a piece of cake for twill.

> I guess the real challenge is learning how to write twill scripts.

In 2008, I wrote up some documentation that might help you out some.
Specifically what might help is:

Common Twill Commands -
http://swordstyle.com/func_test_tutorial/part_one/writing_twill_commands.html

Shell Mode v. Python Mode v. Python Shell Mode -
http://swordstyle.com/func_test_tutorial/part_one/writing_twill_comparisons.html

Additionally, you're workflow for a very basic "is it up" monitor.

> Go to a url of the application
> Assert that you got a proper HTTP response
> Check out some information on the page
> End.

Hope it helps.

- t.



More information about the twill mailing list