mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/webapp/base/TestControllerSideBar.java
@Test
    public void testControllerBuildInfo() throws InterruptedException
    {
        WebDriverWait wait = new WebDriverWait(m_Driver, 10);
        
        ControllerHelper.displayControllerInfo(m_Driver, ControllerHelper.DEFAULT_CONTROLLER_NAME);
        
        wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector(
                "div[class='ui-tabs-panel ui-widget-content ui-corner-bottom']")));

        WebElement buildProprsHeader = m_Driver.findElement(
                By.xpath("//span[contains(@id, 'controllerBuildInfoHeader')]"));
        assertThat(buildProprsHeader.getText(), is("System Build Information"));
        
        //Retrieves a list of all the build property table elements
        List<WebElement> buildRows = 
                m_Driver.findElements(By.cssSelector("div[class='ui-dt-c']"));
        
        //verify build property information
        ControllerHelper.verifyBuildProperties(buildRows);
        
        //---close the info dialog---
        WebElement infoHeader = m_Driver.findElement(By.cssSelector("div[id$='controllerInfoDlg']"));

        WebElement closeDialog = infoHeader.findElement(By.cssSelector("span[class='ui-icon ui-icon-closethick']"));
        assertThat(closeDialog.isDisplayed(), is(true));
        closeDialog.click();
    }
/**
     * Verify the build information for a Controller exist.
     */
Verify the build information for a Controller exist.
Verify the build information for a Controller exist .
@Test
    public void testControllerBuildInfo() throws InterruptedException
    {
        WebDriverWait wait = new WebDriverWait(m_Driver, 10);
        ControllerHelper.displayControllerInfo(m_Driver, ControllerHelper.DEFAULT_CONTROLLER_NAME);
        wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector(
                "div[class='ui-tabs-panel ui-widget-content ui-corner-bottom']")));
        WebElement buildProprsHeader = m_Driver.findElement(
                By.xpath("//span[contains(@id, 'controllerBuildInfoHeader')]"));
        assertThat(buildProprsHeader.getText(), is("System Build Information"));
        List<WebElement> buildRows = 
                m_Driver.findElements(By.cssSelector("div[class='ui-dt-c']"));
        ControllerHelper.verifyBuildProperties(buildRows);
        WebElement infoHeader = m_Driver.findElement(By.cssSelector("div[id$='controllerInfoDlg']"));
        WebElement closeDialog = infoHeader.findElement(By.cssSelector("span[class='ui-icon ui-icon-closethick']"));
        assertThat(closeDialog.isDisplayed(), is(true));
        closeDialog.click();
    }
@ Test public void testControllerBuildInfo ( ) throws InterruptedException { WebDriverWait wait = new WebDriverWait ( m_Driver , 10 ) ; ControllerHelper . displayControllerInfo ( m_Driver , ControllerHelper . DEFAULT_CONTROLLER_NAME ) ; wait . until ( ExpectedConditions . visibilityOfElementLocated ( By . cssSelector ( "div[class='ui-tabs-panel ui-widget-content ui-corner-bottom']" ) ) ) ; WebElement buildProprsHeader = m_Driver . findElement ( By . xpath ( "//span[contains(@id, 'controllerBuildInfoHeader')]" ) ) ; assertThat ( buildProprsHeader . getText ( ) , is ( "System Build Information" ) ) ; List < WebElement > buildRows = m_Driver . findElements ( By . cssSelector ( "div[class='ui-dt-c']" ) ) ; ControllerHelper . verifyBuildProperties ( buildRows ) ; WebElement infoHeader = m_Driver . findElement ( By . cssSelector ( "div[id$='controllerInfoDlg']" ) ) ; WebElement closeDialog = infoHeader . findElement ( By . cssSelector ( "span[class='ui-icon ui-icon-closethick']" ) ) ; assertThat ( closeDialog . isDisplayed ( ) , is ( true ) ) ; closeDialog . click ( ) ; }
Verify the build information for a Controller exist.
Verify the build information for a Controller exist .
//Retrieves a list of all the build property table elements //verify build property information //---close the info dialog---