mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/MissionSetupHelper.java
public static String createMissionAndLoadToController(final WebDriver driver, final String missionName, 
            final boolean hasStartTimeInterval, final boolean hasStopTimeInterval) 
        throws InterruptedException, ExecutionException, TimeoutException
    {
        String startTime = createMissionSetupWithTestMission(driver, hasStartTimeInterval, hasStopTimeInterval);
        loadMissionToController(driver, missionName);
        
        return startTime;
    }
/**
     * Setup a mission using the test template. Includes intervals for mission if start and stop intervals
     * are true. Then loads the mission with the name provided to the currently connected controller.
     * Assumes controller is already connected.
     * @param driver
     *  the web driver to use
     * @param missionName
     *  the mission name that should be used to identify the mission
     * @param hasStartTimeInterval
     *  whether a start time interval is to be set for the mission being created.
     *  start time will be 10 minutes after the current time.
     * @param hasStopTimeInterval
     *  whether a stop time interval is to be set for the mission being created.
     *  stop time will be 20 minutes after the current time.
     * @return
     *  the String version of the start time if the start interval flag has been
     *  set to true. Otherwise, returns empty string.
     */
Setup a mission using the test template. Includes intervals for mission if start and stop intervals
are true. Then loads the mission with the name provided to the currently connected controller.
Assumes controller is already connected.
@param driver
the web driver to use
@param missionName
the mission name that should be used to identify the mission
@param hasStartTimeInterval
whether a start time interval is to be set for the mission being created.
start time will be 10 minutes after the current time.
@param hasStopTimeInterval
whether a stop time interval is to be set for the mission being created.
stop time will be 20 minutes after the current time.
@return
the String version of the start time if the start interval flag has been
set to true. Otherwise, returns empty string.
Setup a mission using the test template . Includes intervals for mission if start and stop intervals are true . Then loads the mission with the name provided to the currently connected controller . Assumes controller is already connected . @param driver the web driver to use @param missionName the mission name that should be used to identify the mission @param hasStartTimeInterval whether a start time interval is to be set for the mission being created . start time will be 10 minutes after the current time . @param hasStopTimeInterval whether a stop time interval is to be set for the mission being created . stop time will be 20 minutes after the current time . @return the String version of the start time if the start interval flag has been set to true . Otherwise returns empty string .
public static String createMissionAndLoadToController(final WebDriver driver, final String missionName, 
            final boolean hasStartTimeInterval, final boolean hasStopTimeInterval) 
        throws InterruptedException, ExecutionException, TimeoutException
    {
        String startTime = createMissionSetupWithTestMission(driver, hasStartTimeInterval, hasStopTimeInterval);
        loadMissionToController(driver, missionName);
        return startTime;
    }
public static String createMissionAndLoadToController ( final WebDriver driver , final String missionName , final boolean hasStartTimeInterval , final boolean hasStopTimeInterval ) throws InterruptedException , ExecutionException , TimeoutException { String startTime = createMissionSetupWithTestMission ( driver , hasStartTimeInterval , hasStopTimeInterval ) ; loadMissionToController ( driver , missionName ) ; return startTime ; }
Setup a mission using the test template.
Setup a mission using the test template .