Skip to content

Instantly share code, notes, and snippets.

@muditlambda
Created April 13, 2020 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muditlambda/12e0a66a8a869509bff204cfc968cb1d to your computer and use it in GitHub Desktop.
Save muditlambda/12e0a66a8a869509bff204cfc968cb1d to your computer and use it in GitHub Desktop.
public class GmailLoginFlow
{
public GmailLoginFlow()
{}
public void verifyGmailLoginFlow(WebDriver driver){
GmailHomePage gmailHomePage = new GmailHomePage(driver);
GmailLoginPage gmailLoginpage = gmailHomePage.clickSignInButton();
gmailLoginpage.setEmail("abc@gmail.com");
gmailLoginpage.clickOnNextButton();
gmailLoginpage.setPassword("23456@qwe");
GmailInboxPage gmailInboxPage= gmailLoginpage.clickOnNextButton();
Assert.assertTrue(gmailInboxPage.gmailHeaderVisibility);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment