SHARE
TWEET

Untitled

a guest Sep 13th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. public class TestFour {
  3.  
  4.   @BeforeMethod
  5.   public void setUp() {
  6.     Drivers.setUpDriver();
  7.   }
  8.  
  9.   @Test
  10.   public void runTest() {
  11.     HomePage homePage = open(Urls.getBaseUrl());
  12.     LoginPage loginPage = homePage.goToLoginPage();
  13.     MainPage mainPage = loginPage.loginAs("1","11111");
  14.     mainPage.verifyUserIsLogin();
  15.   }
  16.  
  17.   @AfterMethod
  18.   public void tearDown() {
  19.     Selenide.close();
  20.   }
RAW Paste Data
Top