arunareddy pothireddy
unread,Mar 4, 2011, 6:01:36 AM3/4/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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();
}
}