Page 1 of 1

how to automate gmail login

Posted: Wed Sep 13, 2006 9:23 am
by satish_k
Hi all,
can ayone tellme how to automate gmail login.
Also links for free tutorials on internet or web automation task.

Regards
Satish

Posted: Wed Sep 13, 2006 10:18 am
by Tech Support
Hi,

The following macro is as suggested by the iMacros recorder and works for me. You will need to put your own username and password in the content parameter of the TAG commands:

Code: Select all

VERSION BUILD=5200814     
TAB T=1     
TAB CLOSEALLOTHERS     
URL GOTO=https://www.gmail.com
SIZE X=801 Y=602    
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:ServiceLoginAuth ATTR=ID:Email CONTENT=<username>
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:ServiceLoginAuth ATTR=ID:Passwd CONTENT=<password> 
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:ServiceLoginAuth ATTR=NAME:null&&VALUE:Sign<SP>in  
'Comment: New page loaded 
Daniel Kerr
iOpus Support

Posted: Wed Sep 13, 2006 10:37 am
by satish_k
Hi Daniel,
the code given by u is not accepting the password

satish

Posted: Wed Sep 13, 2006 10:49 am
by satish_k
Hi Daniel,
will thesamecode work for any other logins which is not related to webmail.

Posted: Thu Sep 14, 2006 7:25 am
by Tech Support
Hi,

The macro code I gave works (for me a least!) for the english version of the gmail website.

If you want to use it with other websites you will probably need to alter the command parameters, as the login boxes and buttons are likely to have different names.

However, this should be very straightforward as the iMacros recorder should set up these commands automatically when you record logging in (if you are having problems with the TAG command for the password then you should record this again).

If straightforward TAG commands do not work with a login then you should try using WINCLICK.

Daniel Kerr
iOpus Support

Posted: Fri Dec 22, 2006 2:03 pm
by Tech Support
For a solution, please see this article How to automate/test Google Web Mail (Gmail)