Gmial Account

2,691 views
Skip to first unread message

arunareddy pothireddy

unread,
Mar 4, 2011, 6:01:36 AM3/4/11
to Selenium Users, charuna...@gmail.com
i am getting password error message and captcha proble Please check
my account and give the suggestion
Test(dataProvider = "googleLogin")
public void googleLogin(String no,String firstName, String lastName,
String emailid,
String Passwd, String PasswdAgain, String questions,
String IdentityAnswer, String SecondaryEmail,String MobileNumber,
String idvGivenAnswer
) throws Exception {

try {
int index1 = 1000;
selenium.click("link=Create an account »");
selenium.waitForPageToLoad("30000");
selenium.type("FirstName", firstName);
selenium.type("LastName", lastName);
selenium.type("Email", emailid);
selenium.click("//input[@value='check availability!']");
selenium.type("Passwd", Passwd);
Thread.sleep(index1+2000);
selenium.type("PasswdAgain", PasswdAgain);
Thread.sleep(index1+2000);
selenium.select("questions", questions);
selenium.type("IdentityAnswer", IdentityAnswer);
selenium.type("SecondaryEmail", SecondaryEmail);
selenium.type("newaccountcaptcha", "emerefen");
selenium.click("submitbutton");
selenium.waitForPageToLoad("30000");
selenium.type("MobileNumber", "9341225411");
selenium.click("submitbutton");
selenium.waitForPageToLoad("30000");
selenium.type("idvGivenAnswer", idvGivenAnswer);
selenium.click("submitbutton");
selenium.waitForPageToLoad("30000");
selenium.click("//a[contains(text(),'Show me my account
\n »')]");
selenium.waitForPageToLoad("30000");
selenium.selectFrame("cerio1qkxb2yy");
selenium.click(":r2");
selenium.waitForPageToLoad("30000");


} catch (Exception e) {
e.printStackTrace();
}
}

R!dhdh! patel

unread,
Mar 4, 2011, 7:37:43 PM3/4/11
to seleniu...@googlegroups.com
for Captcha code , you need to write script to manually ask for input. 

 


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Reply all
Reply to author
Forward
0 new messages