Autofill Out Webforms

Associate
Joined
28 May 2008
Posts
346
Im a student on placement year for my computer science degree. In my job I do a lot of testing on websites to check if forms and PDFs generated are capturing the data entered. This involves going through about 8 pages with some 50 fields each time and entering "TEST" in each field.

I was wondering if there is a simple way to write a program (maybe batch file or something) that would run through the webpage and insert the word "test" in each field automatically.

Thanks :D
 
The way I would do it (as a programmer) is to write a bookmarklet that includes jQuery and then use it to select and populate all the fields on the page, you could even append a number to the word "TEST" so that each field has a unique number. This would then just be a case of clicking a bookmark link in the browser to fill in all the fields.

It depends on how you identify the fields (are they all text boxes?)
 
Sounds like you need an automated test tool - google around, this is standard stuff.

At work my testers generally use Quicktest Pro, but Selenium would be a sensible free alternative.
 
Back
Top Bottom