mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/webapp/asset/TestAssetCommands.java
@Test
    public void testPanTiltCommand() throws InterruptedException, ExecutionException, TimeoutException
    {
        Map<String, String> params = new HashMap<>();
        params.put("panTilt", AssetCommandHelper.ADD);
        params.put("panTilt.azimuth", AssetCommandHelper.ADD);
        params.put("panTilt.azimuth.value", "12.0");
        params.put("panTilt.elevation", AssetCommandHelper.ADD);
        params.put("panTilt.elevation.value", "10.0");

        AssetCommandHelper.inputAllParameters(m_Driver, ASSET_NAME, "Pan Tilt", params);
        
        WebElement sendCommandButton = AssetCommandHelper.findCorrectSendButton(m_Driver, ASSET_NAME, "Send Command",
                "sendCommand");
        assertThat(sendCommandButton, notNullValue());
        
        GrowlVerifier.verifyNoWait(10, sendCommandButton, COMMAND_MSG_TITLE);
        
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Pan Tilt", ExpandCollapse.COLLAPSE);
    }
/*
     * Verify pan tilt command works as intended.
     */
Verify pan tilt command works as intended.
Verify pan tilt command works as intended .
@Test
    public void testPanTiltCommand() throws InterruptedException, ExecutionException, TimeoutException
    {
        Map<String, String> params = new HashMap<>();
        params.put("panTilt", AssetCommandHelper.ADD);
        params.put("panTilt.azimuth", AssetCommandHelper.ADD);
        params.put("panTilt.azimuth.value", "12.0");
        params.put("panTilt.elevation", AssetCommandHelper.ADD);
        params.put("panTilt.elevation.value", "10.0");
        AssetCommandHelper.inputAllParameters(m_Driver, ASSET_NAME, "Pan Tilt", params);
        WebElement sendCommandButton = AssetCommandHelper.findCorrectSendButton(m_Driver, ASSET_NAME, "Send Command",
                "sendCommand");
        assertThat(sendCommandButton, notNullValue());
        GrowlVerifier.verifyNoWait(10, sendCommandButton, COMMAND_MSG_TITLE);
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Pan Tilt", ExpandCollapse.COLLAPSE);
    }
@ Test public void testPanTiltCommand ( ) throws InterruptedException , ExecutionException , TimeoutException { Map < String , String > params = new HashMap < > ( ) ; params . put ( "panTilt" , AssetCommandHelper . ADD ) ; params . put ( "panTilt.azimuth" , AssetCommandHelper . ADD ) ; params . put ( "panTilt.azimuth.value" , "12.0" ) ; params . put ( "panTilt.elevation" , AssetCommandHelper . ADD ) ; params . put ( "panTilt.elevation.value" , "10.0" ) ; AssetCommandHelper . inputAllParameters ( m_Driver , ASSET_NAME , "Pan Tilt" , params ) ; WebElement sendCommandButton = AssetCommandHelper . findCorrectSendButton ( m_Driver , ASSET_NAME , "Send Command" , "sendCommand" ) ; assertThat ( sendCommandButton , notNullValue ( ) ) ; GrowlVerifier . verifyNoWait ( 10 , sendCommandButton , COMMAND_MSG_TITLE ) ; AssetCommandHelper . clickAccordionPanel ( m_Driver , ASSET_NAME , "Pan Tilt" , ExpandCollapse . COLLAPSE ) ; }
Verify pan tilt command works as intended.
Verify pan tilt command works as intended .