Пример #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();
 }