mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/ConfigurationHelper.java
public static void handleNavigateToConfigTab(final WebDriver driver)
    {
        WebDriverWait wait = new WebDriverWait(driver, 5);
        
        //Wait for the tabs on the system configuration page to be available.
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("div[id*='systemConfigTab']")));
        WebElement tabPanel = driver.findElement(By.cssSelector("div[id*='systemConfigTab']"));
        
        //Navigate to the configurations tab on the system configuration page.
        WebElement configTab = tabPanel.findElements(By.tagName("a")).get(1);
        assertThat(configTab.getText(), is("Configurations"));
        configTab.click();
        
        //Wait until the configuration table is available.
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("tbody[id*='configTable_data']")));
    }
/**
     * This method will navigate to the configuration tab when on the system configuration page.
     * 
     * @param driver
     *          Current web driver.
     */
This method will navigate to the configuration tab when on the system configuration page.

@param driver
Current web driver.
This method will navigate to the configuration tab when on the system configuration page . @param driver Current web driver .
public static void handleNavigateToConfigTab(final WebDriver driver)
    {
        WebDriverWait wait = new WebDriverWait(driver, 5);
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("div[id*='systemConfigTab']")));
        WebElement tabPanel = driver.findElement(By.cssSelector("div[id*='systemConfigTab']"));
        WebElement configTab = tabPanel.findElements(By.tagName("a")).get(1);
        assertThat(configTab.getText(), is("Configurations"));
        configTab.click();
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("tbody[id*='configTable_data']")));
    }
public static void handleNavigateToConfigTab ( final WebDriver driver ) { WebDriverWait wait = new WebDriverWait ( driver , 5 ) ; wait . until ( ExpectedConditions . presenceOfElementLocated ( By . cssSelector ( "div[id*='systemConfigTab']" ) ) ) ; WebElement tabPanel = driver . findElement ( By . cssSelector ( "div[id*='systemConfigTab']" ) ) ; WebElement configTab = tabPanel . findElements ( By . tagName ( "a" ) ) . get ( 1 ) ; assertThat ( configTab . getText ( ) , is ( "Configurations" ) ) ; configTab . click ( ) ; wait . until ( ExpectedConditions . presenceOfElementLocated ( By . cssSelector ( "tbody[id*='configTable_data']" ) ) ) ; }
This method will navigate to the configuration tab when on the system configuration page.
This method will navigate to the configuration tab when on the system configuration page .
//Wait for the tabs on the system configuration page to be available. //Navigate to the configurations tab on the system configuration page. //Wait until the configuration table is available.