mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/ConfigurationHelper.java
private static void updateBooleanButton(WebElement inputRow, boolean value)
    {
        WebElement buttonDiv = findBooleanButton(inputRow);
        
        // only click button to change to opposite value if not current value
        String boolStr = value ? "Yes" : "No";
        if (!buttonDiv.findElement(By.cssSelector("span")).getText().equals(boolStr))
        {
            buttonDiv.click();
        }
    }
/**
     * Update the configuration property that has a boolean button.
     */
Update the configuration property that has a boolean button.
Update the configuration property that has a boolean button .
private static void updateBooleanButton(WebElement inputRow, boolean value)
    {
        WebElement buttonDiv = findBooleanButton(inputRow);
        String boolStr = value ? "Yes" : "No";
        if (!buttonDiv.findElement(By.cssSelector("span")).getText().equals(boolStr))
        {
            buttonDiv.click();
        }
    }
private static void updateBooleanButton ( WebElement inputRow , boolean value ) { WebElement buttonDiv = findBooleanButton ( inputRow ) ; String boolStr = value ? "Yes" : "No" ; if ( ! buttonDiv . findElement ( By . cssSelector ( "span" ) ) . getText ( ) . equals ( boolStr ) ) { buttonDiv . click ( ) ; } }
Update the configuration property that has a boolean button.
Update the configuration property that has a boolean button .
// only click button to change to opposite value if not current value