setFormElement("userId", "new-user-test"); setFormElement("firstName", "NewUserFname"); setFormElement("lastName", "NewUserLname"); setFormElement("extension", "993"); setFormElement("password", "1234"); setFormElement("confirmPassword", "1234");
setFormElement("userId", NEW_USER_USERNAME); setFormElement("firstName", NEW_USER_FNAME); setFormElement("lastName", NEW_USER_LNAME); setFormElement("password", NEW_USER_PWORD); setFormElement("confirmPassword", NEW_USER_PWORD); setFormElement("aliases", NEW_USER_ALIASES);
    public void testListUsers() throws Exception {        SiteTestHelper.home(tester);        clickLink("NewUser");         setFormElement("userId", "new-user-test");        setFormElement("firstName", "NewUserFname");        setFormElement("lastName", "NewUserLname");        setFormElement("extension", "993");        setFormElement("password", "1234");        setFormElement("confirmPassword", "1234");        clickButton("user:save");        SiteTestHelper.assertNoUserError(tester);        SiteTestHelper.assertNoException(tester);        SiteTestHelper.home(tester);        clickLink("ManageUsers");        String[][] table = new String[][] {                { TestPage.TEST_USER.getUserName(), TestPage.TEST_USER.getFirstName(),                     TestPage.TEST_USER.getLastName(), TestPage.TEST_USER.getExtension()},                                { "new-user-test" , "NewUserFname", "NewUserLname", "993"}            };        assertTableRowsEqual("user:list", 1, table);                            }