Skip to content
Anthony Long edited this page Feb 28, 2011 · 1 revision

Picka generates randomized data either from lists of known good data (or bad) stored in a sqlite database, or by generating randomized realistic data, using string formatting (behind the scenes). Picka has a function for any field you would need filled in. With selenium, something like would populate the "field-name-here" box for you, 100 times with random names.

for x in xrange(101):
	self.selenium.type('field-name-here', picka.male_name())

But this is just the beginning. Other ways to implement this, include using dicts:

user_information = {
	"first_name": picka.male_name(),
	"last_name": picka.last_name(),
	"email_address": picka.email(extension='.org'),
	"password": picka.password_numerical(6),
}
Clone this wiki locally