Example #1
0
 @Test
 public void testLogout() throws InterruptedException, IOException, Exception {
   try {
     System.out.println("Executing testLogout Scenario");
     methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
     baseScreen.logOut(methodName);
   } catch (Exception t) {
     baseScreen.takesScreenshot(methodName);
     System.out.println("Exception in testLogout Scenario" + t.getMessage());
   }
 }