use Win32::IEAutomation; use Data:Dumper; $\="\n"; $,=" "; open FH, ">D:/material/Perl_ppts/test.txt" or die $!; $ie=Win32::IEAutomation->new(visible=>1, maximize=>1); $url='https://www.google.com/accounts/ServiceLogin? service=mail&passive=true&rm=false&continue=http://mail .google.com/mail/%3Fui%3Dhtml%26zy% 3Dl&bsv=1eic6yu9oa4y3&scc=1<mpl=default<mplcache=2 '; $ie->gotoURL($url); $ie->getTextBox('id:', 'Email')->SetValue (''); $ie->getTextBox('id:', 'Passwd')->SetValue (''); #print $ie->PageText(); $ie->getButton('id:', 'signIn')->Click; print Dumper($ie->URL()); $ie->getCheckbox('id:',':nu')->Select; #Failed #then i tried this-> $ie->getCheckbox('index:', 1)->Select; #FAILED