I want to write a script to register the users by using wizard

for example step1 to fill the username and password
step2 to fill the personal info.
setp3 etc

any help