Created
August 18, 2020 17:32
-
-
Save rajaraodv/3df42d15485d010e234b2a94ad063157 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
@Test | |
public void loginTest() { | |
//Open browser | |
driver.get("https://demo.applitools.com/loginBefore.html"); | |
//Click on the Login button | |
driver.findElement(By.id("log-in")).click(); | |
//Start the test | |
eyes.open(driver, "Login App", "Login Page Test"); | |
//Take a screenshot so AI can analyze | |
eyes.checkWindow("Login Window"); | |
//End the test | |
eyes.closeAsync(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment