+1, using the interpreter to learn twill (and the underlying components) is both useful and a lot of fun. If you're not familiar with Python, try http://diveintopython.org/.

- Mike


On 10/26/10 7:03 PM, Barry Hart wrote:
This page has a link to the Scotch code:
http://darcs.idyll.org/~t/projects/ <http://darcs.idyll.org/%7Et/projects/>

When I used twill, I didn't write any twill scripts, everything was in Python. Using the Python interpreter interactively (or better yet, IPython) is a good way to figure things out as you go, because you can experiment to find how to do things without having to keep switching back and forth to an editor.

Maybe you could write things initially in Python and then translate back to twill (if that's what Zenoss requires)? Just a thought, I haven't used this approach myself.

Barry

On Tue, Oct 26, 2010 at 9:00 PM, Mart Doyle <[email protected] <mailto:[email protected]>> wrote:

    As of this morning, I didn’t know what twill was.  We are
    interested in using a monitor called Zenoss to perform some very
    basic application monitoring.  Zenoss has a feature which looks
    like it lets us run twill scripts and report on the availability
    of applications.  I guess the real challenge is learning how to
    write twill scripts.

    Does anyone have any good advice as to where to start to learn to
    develop twill scripts?  I started out reading An Introduction to
    Testing Web Applications with twill and Selenium by C. Brown
    
<http://www.amazon.com/s/ref=ntt_athr_dp_sr_1?_encoding=UTF8&sort=relevancerank&search-alias=books&field-author=C.%20Brown>,
    Gheorghe Gheorghiu
    
<http://www.amazon.com/s/ref=ntt_athr_dp_sr_2?_encoding=UTF8&sort=relevancerank&search-alias=books&field-author=Gheorghe%20Gheorghiu>,
    and Jason Huggins
<http://www.amazon.com/s/ref=ntt_athr_dp_sr_3?_encoding=UTF8&sort=relevancerank&search-alias=books&field-author=Jason%20Huggins>. I’ve got twill installed and I can do some VERY basic navigation
    of VERY simple web sites.  For any site which is the least bit
    complicated I spend a lot of time fumbling around and am not
    really making progress.  I’ve been trying to find and install the
    scotch recorder with the hopes that I could use that to record
    navigation through a browser and use that information to help me
    figure out how to navigate using twill but I haven’t had much luck
    finding scotch.  Does it still exist?

    Any suggestions on how to get some traction developing my first
    few twill scripts to do some very basic monitoring of web
    applications?

    Mart Doyle


    _______________________________________________
    twill mailing list
    [email protected] <mailto:[email protected]>
    http://lists.idyll.org/listinfo/twill



_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill

_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill

Reply via email to