[twill] Twill Question

Titus Brown titus at caltech.edu
Wed Oct 17 23:46:08 PDT 2007

On Wed, Oct 17, 2007 at 10:45:00PM -0400, Aditya Mukherjee wrote:
-> Hi Titus,
->    I am new to Python and Twill , and am in a time crunch....
->    I was wondering how to use twill to click on buttons that do not appear
-> in "showforms"
-> and for the ones that do appear in "showforms"  how would you select them if
-> they are not of a type submit
-> can you recommend any tools ? ( open source of course)

Hi, Aditya,

if buttons don't appear in showforms, then they're probably produced by
or hidden by JavaScript in some way.

As for selecting them, formvalue does that as a by-product of setting
their values.  It does so even on read-only widgets and submit buttons.
I'm not sure this is what you mean, though -- what do you need to do,

For other OSS "Web driving" tools, you might consider Watir (drives IE,
Firefox) or Selenium (drives most Web browsers).  Only tools that
actually drive a browser are going to perform exactly like a browser...


More information about the twill mailing list