clickButton("rule:save");
clickButton("form:ok");
    public void testCustomRuleAdd() throws Exception {        for (int i = 0; i < NAMES.length; i++) {            String[] row = NAMES[i];            clickLink("dialplan:add");            // 2 means custom...            selectOption("ruleTypeSelection", "Custom");            clickButton("selectRule:next");            assertLinkNotPresent("pattern:delete");            assertLinkPresent("pattern:add");            setFormElement("name", row[0]);            setFormElement("description", row[2]);            // dial patter prefix            setFormElement("prefix", "333");            // call pattern prefix            setFormElement("prefix$0", "444");            checkAddDeletePattern();            checkGateways();            clickButton("rule:save");            assertTextInTable("dialplan:list", row[2]);            assertLinkPresentWithText(row[0]);        }    }