Why are you trying to automate that anyway, do you work for Google? That is a violation of their terms of service.
"You specifically agree not to access (or attempt to access) any of the Services through any automated means"
Its a general doubt for me which was raised during my automation work for the example purpose i have given gmail so that it is very easy to identify and give the response but not
to automate the gmail registration page..
any how thanks for ur Response