public static void main(String[] args) { stat.addDescription("Unit test for CR 6716503"); WebTest webTest = new WebTest(args); try { if ("first".equals(webTest.run)) { TEST_NAME = TEST_ROOT_NAME + "-first"; webTest.firstRun(); } else { TEST_NAME = TEST_ROOT_NAME + "-second"; webTest.secondRun(); } } catch (Exception ex) { ex.printStackTrace(); stat.addStatus(TEST_NAME, stat.FAIL); } stat.printSummary(); }