Situation: I have multiple websites with multiple forms each. I would like to create a script that will submit the form data to the server script so I don't have to open a browser and fill out the form to test. I know how to do this part...
My question is...
Is there an easy way to load the form fields and data into the script?
I was going to create a config file (tab delimited or something) with the form fields and data that I could parse and use to submit. Then I thought well I could save the page (after filling the form out) and parse the fields and values from it. This way I don't have to type everything... just the values into the form (once).
Is there any better ways to do this?
Are there possibly any cpan modules or anything that makes this type of testing easier??
Just looking for advice and more knowledge!
Thanks in advance!