<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
+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 <a class="moz-txt-link-freetext" href="http://diveintopython.org/">http://diveintopython.org/</a>.<br>
<br>
- Mike<br>
<br>
<br>
On 10/26/10 7:03 PM, Barry Hart wrote:
<blockquote
cite="mid:AANLkTik-KH-_5p-pgtJ20qBk5E-cvwcx_yvZzAq_eEu8@mail.gmail.com"
type="cite">This page has a link to the Scotch code:<br>
<a moz-do-not-send="true"
href="http://darcs.idyll.org/%7Et/projects/">http://darcs.idyll.org/~t/projects/</a><br>
<br>
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.<br>
<br>
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.<br>
<br>
Barry<br>
<br>
<div class="gmail_quote">
On Tue, Oct 26, 2010 at 9:00 PM, Mart Doyle <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:mdoyle@temple.edu">mdoyle@temple.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Does anyone have any good advice as
to where to start to
learn to develop twill scripts? I started out reading <span
style="color: black;">An Introduction to Testing Web
Applications with twill and
Selenium by</span> <a moz-do-not-send="true"
href="http://www.amazon.com/s/ref=ntt_athr_dp_sr_1?_encoding=UTF8&sort=relevancerank&search-alias=books&field-author=C.%20Brown"
target="_blank"><span style="color: windowtext;
text-decoration: none;">C. Brown</span></a>, <a
moz-do-not-send="true"
href="http://www.amazon.com/s/ref=ntt_athr_dp_sr_2?_encoding=UTF8&sort=relevancerank&search-alias=books&field-author=Gheorghe%20Gheorghiu"
target="_blank"><span style="color: windowtext;
text-decoration: none;">Gheorghe Gheorghiu</span></a>,
and <a moz-do-not-send="true"
href="http://www.amazon.com/s/ref=ntt_athr_dp_sr_3?_encoding=UTF8&sort=relevancerank&search-alias=books&field-author=Jason%20Huggins"
target="_blank"><span style="color: windowtext;
text-decoration: none;">Jason Huggins</span></a>.
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?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any suggestions on how to get some
traction developing my
first few twill scripts to do some very basic monitoring
of web applications?</p>
<p class="MsoNormal"> </p>
<font color="#888888">
<p class="MsoNormal">Mart Doyle</p>
</font></div>
</div>
<br>
_______________________________________________<br>
twill mailing list<br>
<a moz-do-not-send="true" href="mailto:twill@lists.idyll.org">twill@lists.idyll.org</a><br>
<a moz-do-not-send="true"
href="http://lists.idyll.org/listinfo/twill" target="_blank">http://lists.idyll.org/listinfo/twill</a><br>
<br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
twill mailing list
<a class="moz-txt-link-abbreviated" href="mailto:twill@lists.idyll.org">twill@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/twill">http://lists.idyll.org/listinfo/twill</a>
</pre>
</blockquote>
<br>
</body>
</html>