Skip to content

Instantly share code, notes, and snippets.

@muditlambda
Last active October 30, 2019 11:48
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/98f698ae4508339590fa80deeea2a671 to your computer and use it in GitHub Desktop.
Save muditlambda/98f698ae4508339590fa80deeea2a671 to your computer and use it in GitHub Desktop.
//Verifying elements on Registration page
@Test
public void verifyElemntsOnPageTest()
{
WebElement lambdaTestLogo = driver.findElement(By.xpath("//p[@class='signup-titel']"));
lambdaTestLogo.isDisplayed();
WebElement signUpTitle = driver.findElement(By.xpath("//p[@class='signup-titel']"));
signUpTitle.isDisplayed();
WebElement termsText = driver.findElement(By.xpath("//label[@class='woo']"));
termsText.isDisplayed();
WebElement loginLinkText = driver.findElement(By.xpath("//p[@class='login-in-link test-left']"));
loginLinkText.isDisplayed();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment