Package org.jboss.jopr.jsfunit.util.EmbJoprTestToolkit

Examples of org.jboss.jopr.jsfunit.util.EmbJoprTestToolkit.ContentTableRow


            expectedStatus = DOWN;
        }
       
        clickNavTreeLink(destinationType.getNavLabel());
        ContentTableRow destinationRow = ejtt.getTabMenu().getTabContentBox().
                                         findLinkRowInDataTableUsingPagination(jndiName);
        assertNotNull("Row containing '" + jndiName + "' was not found in the table", destinationRow);
        String actualStatus = destinationRow.getCellTextByColumnName(STATUS);
        assertEquals("The status of the destination is not correct: ", expectedStatus, actualStatus);
       
        // Clean up
        disconnect();
        deleteDestination(destinationType, jndiName);
View Full Code Here


    ejtt.getTabMenu().clickConfigurationTab();

   

    // Check that SBM is UP.
    ContentTableRow row = ejtt.tabMenu.getTabContentBox().getFirstTable().getFirstRowContainingLink(NAV_SBM_SETS);
    assertEquals(NAV_SBM_SETS+" should be UP", "UP", row.getCellTextByColumnName("Status") );

    // Go to SBM.
    row.getLinkByLabel(NAV_SBM_SETS).click();


    // Summary tab
    ContentTable table = ejtt.tabMenu.getTabContentBox().getTableUnderHeader(LABEL_GENERAL_PROPERTIES);
    ContentInfoTable infoTable = ejtt.getContentInfoTable(table.getElement());
View Full Code Here

      // No tab content box in this block.
      {
        HtmlTable resultsTableElm = ((HtmlForm)client.getElement("parametersForm")).getFirstByXPath(".//table[@class='properties-table']");
        ContentTable resultsTable = ejtt.getTable(resultsTableElm);

        ContentTableRow row = resultsTable.getFirstRowContainingText("Command Line Arguments");
        assertNotNull("'Command Line Arguments' row not found.", row);
        HtmlCheckBoxInput unsetCheckbox = row./*getCellByColumnName("Unset").*/ getElement().getFirstByXPath(".//input[@type='checkbox']");
        unsetCheckbox.setChecked(false);
        HtmlTextArea argsTA = row./*getCellByColumnName("Value").*/ getElement().getFirstByXPath(".//textarea"); // [@ondblclick='commandLineArguments']
        argsTA.setText("-c");
        DebugUtils.writeFile("target/scriptsWithParam-settingParams.html", client.getPageAsText());

        ejtt.sleep(2000);

View Full Code Here

      // Go to the embedded WARs node.
      NavTreeNode embWarNode = ejtt.navTree.getNodeByLabel(APP_TYPE.getNavTreeLabel());
      embWarNode.getLabelLink().click();

      // Check that the embedded WAR is listed.
      ContentTableRow embWarLink = ejtt.tabMenu.getTabContentBox()
              .findLinkRowInDataTableUsingPagination(EAR_WITH_WAR_EMB__WAR_NAME);
      if( null == embWarLink )
        throw new EmbJoprTestException("Embedded WAR '"+EAR_WITH_WAR_EMB__WAR_NAME+"' not listed.");

      ejtt.deployment.waitActivelyForDeployment(APP_TYPE, EAR_WITH_WAR_EMB__WAR_NAME, 5000, 30);
View Full Code Here

TOP

Related Classes of org.jboss.jopr.jsfunit.util.EmbJoprTestToolkit.ContentTableRow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.