mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/observation/ObservationFilterHelper.java
public static void enterFilterExpression(final WebDriver driver, final String filterExpression)
    {
        WebElement accordion = retrieveFilterAccordionPanel(driver);

        WebElement filterTextBox = accordion.findElement(By.cssSelector("input[id$='obsFilter']"));
        
        filterTextBox.clear();
        filterTextBox.sendKeys(filterExpression);
        
        //click filter button
        accordion.findElement(By.cssSelector("button[id$='filterButton']")).click();
        
        GeneralHelper.sleepWithText(3, "Wait for DOM to update after AJAX update based on filtering");
    }
/**
     * Enter the filter expression assuming the text box is already available.
     * 
     * @param filterExpression
     *      expression to enter
     */
Enter the filter expression assuming the text box is already available.

@param filterExpression
expression to enter
Enter the filter expression assuming the text box is already available . @param filterExpression expression to enter
public static void enterFilterExpression(final WebDriver driver, final String filterExpression)
    {
        WebElement accordion = retrieveFilterAccordionPanel(driver);
        WebElement filterTextBox = accordion.findElement(By.cssSelector("input[id$='obsFilter']"));
        filterTextBox.clear();
        filterTextBox.sendKeys(filterExpression);
        accordion.findElement(By.cssSelector("button[id$='filterButton']")).click();
        GeneralHelper.sleepWithText(3, "Wait for DOM to update after AJAX update based on filtering");
    }
public static void enterFilterExpression ( final WebDriver driver , final String filterExpression ) { WebElement accordion = retrieveFilterAccordionPanel ( driver ) ; WebElement filterTextBox = accordion . findElement ( By . cssSelector ( "input[id$='obsFilter']" ) ) ; filterTextBox . clear ( ) ; filterTextBox . sendKeys ( filterExpression ) ; accordion . findElement ( By . cssSelector ( "button[id$='filterButton']" ) ) . click ( ) ; GeneralHelper . sleepWithText ( 3 , "Wait for DOM to update after AJAX update based on filtering" ) ; }
Enter the filter expression assuming the text box is already available.
Enter the filter expression assuming the text box is already available .
//click filter button