mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/webapp/base/TestGuiConfigurationPage.java
@Test
    public void testOpenBasePage() throws InterruptedException
    {
        //Navigate to the GUI Configuration page.
        NavigationHelper.navigateToPage(m_Driver, NavigationButtonNameConstants.NAVBUT_PROP_GUI_CONFIG);
        
        WebDriverWait wait = new WebDriverWait(m_Driver, 5);
        
        //Verify that the GUI Configuration page fields are displayed.
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("button[id*='save']")));
        WebElement header = m_Driver.findElement(By.cssSelector("span[id*='sysNameHeader']"));
        assertThat(header.getText(), is("System Name"));
        header = m_Driver.findElement(By.cssSelector("span[id*='sysIdHeader']")); 
        assertThat(header.getText(), is("System ID"));
        header = m_Driver.findElement(By.cssSelector("span[id*='sysVersionHeader']")); 
        assertThat(header.getText(), is("System Version"));
        header = m_Driver.findElement(By.cssSelector("span[id$='sysBuildInfoHeader']"));
        assertThat(header.getText(), is("System Build Information"));
        
        WebElement input = m_Driver.findElement(By.cssSelector("input[id$='systemname']"));
        assertThat(input.getAttribute("value"), is("gui-generic"));
        input = m_Driver.findElement(By.cssSelector("input[id$='sysId']"));
        assertThat(input.getAttribute("value"), is("0x00000001"));
        
        WebElement output = m_Driver.findElement(By.cssSelector("div[id$='buildProps']"));
        assertThat(output, is(notNullValue()));
        WebElement button = m_Driver.findElement(By.cssSelector("button[id$='save']"));
        assertThat(button, is(notNullValue()));
    }
/**
     * Test that the GUI Configuration page is the page displayed for the base THOSE URL.
     * Verify that the appropriate fields for the GUI configuration page are displayed.
     */
Test that the GUI Configuration page is the page displayed for the base THOSE URL.
Verify that the appropriate fields for the GUI configuration page are displayed.
Test that the GUI Configuration page is the page displayed for the base THOSE URL . Verify that the appropriate fields for the GUI configuration page are displayed .
@Test
    public void testOpenBasePage() throws InterruptedException
    {
        NavigationHelper.navigateToPage(m_Driver, NavigationButtonNameConstants.NAVBUT_PROP_GUI_CONFIG);
        WebDriverWait wait = new WebDriverWait(m_Driver, 5);
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("button[id*='save']")));
        WebElement header = m_Driver.findElement(By.cssSelector("span[id*='sysNameHeader']"));
        assertThat(header.getText(), is("System Name"));
        header = m_Driver.findElement(By.cssSelector("span[id*='sysIdHeader']")); 
        assertThat(header.getText(), is("System ID"));
        header = m_Driver.findElement(By.cssSelector("span[id*='sysVersionHeader']")); 
        assertThat(header.getText(), is("System Version"));
        header = m_Driver.findElement(By.cssSelector("span[id$='sysBuildInfoHeader']"));
        assertThat(header.getText(), is("System Build Information"));
        WebElement input = m_Driver.findElement(By.cssSelector("input[id$='systemname']"));
        assertThat(input.getAttribute("value"), is("gui-generic"));
        input = m_Driver.findElement(By.cssSelector("input[id$='sysId']"));
        assertThat(input.getAttribute("value"), is("0x00000001"));
        WebElement output = m_Driver.findElement(By.cssSelector("div[id$='buildProps']"));
        assertThat(output, is(notNullValue()));
        WebElement button = m_Driver.findElement(By.cssSelector("button[id$='save']"));
        assertThat(button, is(notNullValue()));
    }
@ Test public void testOpenBasePage ( ) throws InterruptedException { NavigationHelper . navigateToPage ( m_Driver , NavigationButtonNameConstants . NAVBUT_PROP_GUI_CONFIG ) ; WebDriverWait wait = new WebDriverWait ( m_Driver , 5 ) ; wait . until ( ExpectedConditions . presenceOfElementLocated ( By . cssSelector ( "button[id*='save']" ) ) ) ; WebElement header = m_Driver . findElement ( By . cssSelector ( "span[id*='sysNameHeader']" ) ) ; assertThat ( header . getText ( ) , is ( "System Name" ) ) ; header = m_Driver . findElement ( By . cssSelector ( "span[id*='sysIdHeader']" ) ) ; assertThat ( header . getText ( ) , is ( "System ID" ) ) ; header = m_Driver . findElement ( By . cssSelector ( "span[id*='sysVersionHeader']" ) ) ; assertThat ( header . getText ( ) , is ( "System Version" ) ) ; header = m_Driver . findElement ( By . cssSelector ( "span[id$='sysBuildInfoHeader']" ) ) ; assertThat ( header . getText ( ) , is ( "System Build Information" ) ) ; WebElement input = m_Driver . findElement ( By . cssSelector ( "input[id$='systemname']" ) ) ; assertThat ( input . getAttribute ( "value" ) , is ( "gui-generic" ) ) ; input = m_Driver . findElement ( By . cssSelector ( "input[id$='sysId']" ) ) ; assertThat ( input . getAttribute ( "value" ) , is ( "0x00000001" ) ) ; WebElement output = m_Driver . findElement ( By . cssSelector ( "div[id$='buildProps']" ) ) ; assertThat ( output , is ( notNullValue ( ) ) ) ; WebElement button = m_Driver . findElement ( By . cssSelector ( "button[id$='save']" ) ) ; assertThat ( button , is ( notNullValue ( ) ) ) ; }
Test that the GUI Configuration page is the page displayed for the base THOSE URL.
Test that the GUI Configuration page is the page displayed for the base THOSE URL .
//Navigate to the GUI Configuration page. //Verify that the GUI Configuration page fields are displayed.