mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/webapp/mp/TestAddMissionAppSetup.java
@Test
    public void testScheduleTab() throws InterruptedException
    {
        //Retrieve the test mission.
        WebElement testMission = MissionSetupHelper.retrieveMissionByName(m_Driver, "test-mission");
        //Select and click the select mission button to proceed to the parameters tab.
        WebElement selectMissionButton = testMission.findElement(
                By.cssSelector("div[class='ui-panel-content ui-widget-content']")).findElement(By.tagName("button"));
        assertThat(selectMissionButton, is(notNullValue()));
        selectMissionButton.click();
        
        //setup params
        MissionSetupHelper.setupMissionParameters(TEST_INT, TEST_DOUBLE, TEST_STRING, m_Driver);
        
        //set schedule
        MissionSetupHelper.setupTimedMission(m_Driver, System.currentTimeMillis() + 30 * 1000,
                System.currentTimeMillis() + 60 * 1000); 
    }
/**
     * Tests the schedule tab of the mission setup page. 
     * Verify that a start and stop time can be selected for the mission and that advancing to the next tab works 
     * appropriately.
     */
Tests the schedule tab of the mission setup page.
Verify that a start and stop time can be selected for the mission and that advancing to the next tab works
appropriately.
Tests the schedule tab of the mission setup page . Verify that a start and stop time can be selected for the mission and that advancing to the next tab works appropriately .
@Test
    public void testScheduleTab() throws InterruptedException
    {
        WebElement testMission = MissionSetupHelper.retrieveMissionByName(m_Driver, "test-mission");
        WebElement selectMissionButton = testMission.findElement(
                By.cssSelector("div[class='ui-panel-content ui-widget-content']")).findElement(By.tagName("button"));
        assertThat(selectMissionButton, is(notNullValue()));
        selectMissionButton.click();
        MissionSetupHelper.setupMissionParameters(TEST_INT, TEST_DOUBLE, TEST_STRING, m_Driver);
        MissionSetupHelper.setupTimedMission(m_Driver, System.currentTimeMillis() + 30 * 1000,
                System.currentTimeMillis() + 60 * 1000); 
    }
@ Test public void testScheduleTab ( ) throws InterruptedException { WebElement testMission = MissionSetupHelper . retrieveMissionByName ( m_Driver , "test-mission" ) ; WebElement selectMissionButton = testMission . findElement ( By . cssSelector ( "div[class='ui-panel-content ui-widget-content']" ) ) . findElement ( By . tagName ( "button" ) ) ; assertThat ( selectMissionButton , is ( notNullValue ( ) ) ) ; selectMissionButton . click ( ) ; MissionSetupHelper . setupMissionParameters ( TEST_INT , TEST_DOUBLE , TEST_STRING , m_Driver ) ; MissionSetupHelper . setupTimedMission ( m_Driver , System . currentTimeMillis ( ) + 30 * 1000 , System . currentTimeMillis ( ) + 60 * 1000 ) ; }
Tests the schedule tab of the mission setup page.
Tests the schedule tab of the mission setup page .
//Retrieve the test mission. //Select and click the select mission button to proceed to the parameters tab. //setup params //set schedule