Re: Automatically populate and submit HTML Forms
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Automatically populate and submit HTML Forms

From: alex23 <wuwei23@gmail.com>
Date: Thu May 26 2005 - 03:43:05 CEST

Hey rbt,

You should take a look at mechanize:
http://wwwsearch.sourceforge.net/mechanize/

One of its listed features is 'Easy HTML form filling, using ClientForm
interface'.

A more recent option which came up on this group a few days ago is
twill: http://www.idyll.org/~t/www-tools/twill.html

twill combines pyparsing & mechanize to provide a way of scripting
tests for web applications. While it might not offer the functionality
you're after (I haven't had call to use either of these), it looks very
accessible, and could provide some good examples for using mechanize
with your own scripts.

-alex23
Received on Thu Sep 29 16:13:58 2005