mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/ControllerHelper.java
public static void displayControllerInfo(final WebDriver driver, final String controllerName) 
        throws InterruptedException
    {
        WebElement controller = getControllerListElement(driver, controllerName);
        WebElement controllerMenuButton = controller.findElement(By.cssSelector("button[id$='controllerMenu_button']"));
        controllerMenuButton.click();
        
        Wait<WebDriver> fwait = new FluentWait<WebDriver>(driver).withTimeout(10, TimeUnit.SECONDS).
                pollingEvery(1, TimeUnit.SECONDS).ignoring(StaleElementReferenceException.class, 
                        NoSuchElementException.class);
        WebElement controllerInfo = fwait.until(new ExpectedCondition<WebElement>()
        {
            @Override
            public WebElement apply(WebDriver driver)
            {
                List<WebElement> infoButtonList = driver.findElements(By.cssSelector("a[id$='controllerInfo']"));
                WebElement controllerInfo = null;
                for (WebElement infoButton: infoButtonList)
                {
                    if (infoButton.isDisplayed())
                    {
                        controllerInfo = infoButton;
                    }
                }
                
                if (controllerInfo != null)
                {
                    return controllerInfo;
                }
                throw new NoSuchElementException("Could not find a visible element with id 'controllerInfo'!");
            }
        });
        controllerInfo.click();
        fwait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("div[id$='controllerInfoTab']")));
    }
/**
     * Method that will display the controller information dialog for the specified controller.
     * 
     * @param driver
     *      WebDriver currently being used.
     * @param controllerName
     *      Name of the controller to display the information dialog for.
     * @throws InterruptedException
     *      Thrown if the sleep used to wait for the right side bar to expand is interrupted.
     */
Method that will display the controller information dialog for the specified controller.

@param driver
WebDriver currently being used.
@param controllerName
Name of the controller to display the information dialog for.
@throws InterruptedException
Thrown if the sleep used to wait for the right side bar to expand is interrupted.
Method that will display the controller information dialog for the specified controller . @param driver WebDriver currently being used . @param controllerName Name of the controller to display the information dialog for . @throws InterruptedException Thrown if the sleep used to wait for the right side bar to expand is interrupted .
public static void displayControllerInfo(final WebDriver driver, final String controllerName) 
        throws InterruptedException
    {
        WebElement controller = getControllerListElement(driver, controllerName);
        WebElement controllerMenuButton = controller.findElement(By.cssSelector("button[id$='controllerMenu_button']"));
        controllerMenuButton.click();
        Wait<WebDriver> fwait = new FluentWait<WebDriver>(driver).withTimeout(10, TimeUnit.SECONDS).
                pollingEvery(1, TimeUnit.SECONDS).ignoring(StaleElementReferenceException.class, 
                        NoSuchElementException.class);
        WebElement controllerInfo = fwait.until(new ExpectedCondition<WebElement>()
        {
            @Override
            public WebElement apply(WebDriver driver)
            {
                List<WebElement> infoButtonList = driver.findElements(By.cssSelector("a[id$='controllerInfo']"));
                WebElement controllerInfo = null;
                for (WebElement infoButton: infoButtonList)
                {
                    if (infoButton.isDisplayed())
                    {
                        controllerInfo = infoButton;
                    }
                }
                if (controllerInfo != null)
                {
                    return controllerInfo;
                }
                throw new NoSuchElementException("Could not find a visible element with id 'controllerInfo'!");
            }
        });
        controllerInfo.click();
        fwait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("div[id$='controllerInfoTab']")));
    }
public static void displayControllerInfo ( final WebDriver driver , final String controllerName ) throws InterruptedException { WebElement controller = getControllerListElement ( driver , controllerName ) ; WebElement controllerMenuButton = controller . findElement ( By . cssSelector ( "button[id$='controllerMenu_button']" ) ) ; controllerMenuButton . click ( ) ; Wait < WebDriver > fwait = new FluentWait < WebDriver > ( driver ) . withTimeout ( 10 , TimeUnit . SECONDS ) . pollingEvery ( 1 , TimeUnit . SECONDS ) . ignoring ( StaleElementReferenceException . class , NoSuchElementException . class ) ; WebElement controllerInfo = fwait . until ( new ExpectedCondition < WebElement > ( ) { @ Override public WebElement apply ( WebDriver driver ) { List < WebElement > infoButtonList = driver . findElements ( By . cssSelector ( "a[id$='controllerInfo']" ) ) ; WebElement controllerInfo = null ; for ( WebElement infoButton : infoButtonList ) { if ( infoButton . isDisplayed ( ) ) { controllerInfo = infoButton ; } } if ( controllerInfo != null ) { return controllerInfo ; } throw new NoSuchElementException ( "Could not find a visible element with id 'controllerInfo'!" ) ; } } ) ; controllerInfo . click ( ) ; fwait . until ( ExpectedConditions . visibilityOfElementLocated ( By . cssSelector ( "div[id$='controllerInfoTab']" ) ) ) ; }
Method that will display the controller information dialog for the specified controller.
Method that will display the controller information dialog for the specified controller .