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