mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/MissionHelper.java
public static void executeStartOnMission(final WebDriver driver, final String missionName) throws 
        InterruptedException, ExecutionException, TimeoutException
    {
        WebElement theMissionCard = MissionHelper.findCorrectRunningMissionCard(driver, missionName);
        assertThat(theMissionCard, notNullValue());
        
        WebElement executeButton = theMissionCard.findElement(By.cssSelector("button[id*='execButton']"));
        assertThat(executeButton, notNullValue());
        
        GrowlVerifier.verifyAndWaitToDisappear(20, executeButton, "Mission Status Updated", "Mission Executed.");
    }
/**
     * Function to start a mission by specified name.
     * @param driver
     *  the web driver that is to be used
     * @param missionName
     *  the name of the mission that is to be started
     */
Function to start a mission by specified name.
@param driver
the web driver that is to be used
@param missionName
the name of the mission that is to be started
Function to start a mission by specified name . @param driver the web driver that is to be used @param missionName the name of the mission that is to be started
public static void executeStartOnMission(final WebDriver driver, final String missionName) throws 
        InterruptedException, ExecutionException, TimeoutException
    {
        WebElement theMissionCard = MissionHelper.findCorrectRunningMissionCard(driver, missionName);
        assertThat(theMissionCard, notNullValue());
        WebElement executeButton = theMissionCard.findElement(By.cssSelector("button[id*='execButton']"));
        assertThat(executeButton, notNullValue());
        GrowlVerifier.verifyAndWaitToDisappear(20, executeButton, "Mission Status Updated", "Mission Executed.");
    }
public static void executeStartOnMission ( final WebDriver driver , final String missionName ) throws InterruptedException , ExecutionException , TimeoutException { WebElement theMissionCard = MissionHelper . findCorrectRunningMissionCard ( driver , missionName ) ; assertThat ( theMissionCard , notNullValue ( ) ) ; WebElement executeButton = theMissionCard . findElement ( By . cssSelector ( "button[id*='execButton']" ) ) ; assertThat ( executeButton , notNullValue ( ) ) ; GrowlVerifier . verifyAndWaitToDisappear ( 20 , executeButton , "Mission Status Updated" , "Mission Executed." ) ; }
Function to start a mission by specified name.
Function to start a mission by specified name .