예제 #1
0
  @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();
    }
  }
예제 #2
0
  @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();
    }
  }
예제 #3
0
 @AfterTest
 public void tearDown() {
   appBaseScreen.closeBrowser();
 }