@Test public void testSitecoreArchetypeCreation() throws InterruptedException, IOException, Exception { try { System.out.println("---------testSitecoreArchetypeCreation()-------------"); methodName = Thread.currentThread().getStackTrace()[1].getMethodName(); appBaseScreen.loginPage(methodName); appBaseScreen.sitecoreArchetypeCreate(methodName, sitecoreConst); } catch (Exception t) { t.printStackTrace(); } }
@Test public void testSitecoreArchetypeCloneEnvironment() throws InterruptedException, IOException, Exception { try { System.out.println("---------testSitecoreArchetypeCloneEnvironment()-------------"); methodName = Thread.currentThread().getStackTrace()[1].getMethodName(); appBaseScreen.cloneEnvironment(methodName); } catch (Exception t) { t.printStackTrace(); } }
@AfterTest public void tearDown() { appBaseScreen.closeBrowser(); }