hi all!

i'm not sure if jWebUnit is the best framework for what i'm trying to do...

i'm trying to write a small "testing tool", that takes a URL, gets the HTML
page, fills in all form elements in a form with "pseudo random" (or some
kind of fuzzy logic) values, and submits the form.  i know this is not the
usual way of testing, but it should work for many or almost any form from
different usecases.

this is similar to: "form flooder" -- http://formflood.sourceforge.net/

my question:  if there are multiple forms on a page, can i get a list of
their names?  e.g. there are 3 forms on every page, and i know which two i
don't want to submit, but don't know the name of the one to fill out
(different name depending on usecase).  then i would also need to get the
list of elements (and input types) of this form, to fill out.  is this
possible somehow?

i know jWebUnit is made for test cases, where you know exactly what's on the
page to test, and not have to discover it first.

would HtmlUnit be better for this?

thanks for any response.

cheers,

Tom U.

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to