コード例 #1
0
 @Test
 public void testNodeJsWebserviceHelloWorldProjectCreation()
     throws InterruptedException, IOException, Exception {
   try {
     System.out.println("---------testNodeJsWebserviceHelloWorldProjectCreation()-------------");
     methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
     baseScreen.loginPage(methodName);
     baseScreen.NodeJsWebserviceProjectHelloWorldCreate(methodName, runAgainstSource);
   } catch (Exception t) {
     t.printStackTrace();
   }
 }
コード例 #2
0
  @Test
  public void testMultiYuiWidgetProjectEshopCreate()
      throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testMultiYuiWidgetProjectEshopCreate()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
      baseScreen.loginPage(methodName);
      baseScreen.multiYuiWidgetProjectEshopCreate(methodName, runAgainstSource);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #3
0
  @Test
  public void testNodeJsHelloWorldRunAgainstSource()
      throws InterruptedException, IOException, Exception {
    try {
      System.out.println("---------testNodeJsHelloWorldRunAgainstSource()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
      baseScreen.appLayerRunAgainstSource(methodName);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #4
0
  @Test
  public void testNodeJsEshopRunDatabase() throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testNodeJsEshopRunDatabase()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
      createdb.CreateDatabase(methodName);
      baseScreen.NodeJsAddConfigurationDatabase(methodName, runAgainstSource);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #5
0
  @Test
  public void testYuiMobileWidgetEshopProjectEditApplication()
      throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testYuiMobileWidgetEshopProjectEditApplication()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();

      baseScreen.yuiMobileWidgetProjectEshopEditApplication(methodName, runAgainstSource);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #6
0
  @Test
  public void testjavaWebServiceEshopAddServerConfiguration()
      throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testjavaWebServiceEshopAddServerConfiguration()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();

      baseScreen.javaWebserviceAddConfigurationServer(methodName, runAgainstSource);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #7
0
  @Test
  public void testjavaWebServiceHelloWorldProjectEdit()
      throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testjavaWebServiceHelloWorldProjectEdit()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();

      baseScreen.javaWebserviceProjectHelloWorldEditApplication(methodName, runAgainstSource);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #8
0
  @Test
  public void testNodeJsWebserviceEshopProjectAddFeature()
      throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testNodeJsWebserviceEshopdProjectAddFeature()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();

      baseScreen.NodeJsWebserviceProjectEshopAddFeature(methodName, runAgainstSource);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #9
0
  @Test
  public void testNodeJsHelloWorldProjectConfigurationServer()
      throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testNodeJsHelloWorldProjectConfigurationServer()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();

      baseScreen.NodeJsAddConfigurationServer(methodName, runAgainstSource);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #10
0
  @Test
  public void testJavaWebserviceEshopProjectCreation()
      throws InterruptedException, IOException, Exception {
    try {

      System.out.println("---------testJavaWebserviceEshopProjectCreation()-------------");
      methodName = Thread.currentThread().getStackTrace()[1].getMethodName();

      baseScreen.javaWebserviceProjectEshopCreate(methodName, runAgainstSource);
      Thread.sleep(10000);

    } catch (Exception t) {
      t.printStackTrace();
    }
  }
コード例 #11
0
 @AfterTest
 public void tearDown() {
   baseScreen.closeBrowser();
 }