[twill] problem with form processing

bruce sherrod bruce at ironfist.org
Fri Oct 27 17:26:13 PDT 2006


I have the following problem where form fields are not recognized by twill.
The script is:

    go 'http://www.playfirst.com'
    follow 'Log In'
    showforms

When I run it I get:

    % twill-sh
    >>     go 'http://www.playfirst.com'
    ==> at http://www.playfirst.com
    current page: http://www.playfirst.com
    >>     follow 'Log In'
    ==> at https://www.playfirst.com/secure/login.html
    current page: https://www.playfirst.com/secure/login.html
    >>     showforms

    Form name=subscribeNewsletterForm
    ## ## __Name__________________ __Type___ __ID________ __Value__________________
    1     action                   hidden    (None)       add
    2  1  None                     image     (None)

    Form name=loginForm
    ## ## __Name__________________ __Type___ __ID________ __Value__________________
    1     remember                 checkbox  (None)       ['on'] of ['on']
    2  1  None                     image     (None)

    [etc]

The login form on that page (https://www.playfirst.com/secure/login.html)
has a 'handle' and 'password' field, which do not appear in the list.
This is with python 2.5 and twill-0.8.5.

Any ideas?  What module is doing the form processing?

Thanks,
- Bruce





More information about the twill mailing list