Created
April 13, 2020 13:39
-
-
Save muditlambda/12e0a66a8a869509bff204cfc968cb1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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