コード例 #1
0
  public static void assertNotAlert(LiferaySelenium liferaySelenium, String pattern) {

    TestCase.assertTrue(Validator.equals(pattern, liferaySelenium.getAlert()));
  }
コード例 #2
0
  public static void assertAlert(LiferaySelenium liferaySelenium, String pattern) throws Exception {

    TestCase.assertEquals(pattern, liferaySelenium.getAlert());
  }