mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/webapp/asset/TestAssetCommands.java
@Test
    public void testSyncAll() throws InterruptedException, ExecutionException, TimeoutException
    {
        AssetCommandHelper.executeSyncAll(m_Driver, ASSET_NAME);
        
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Pan Tilt", ExpandCollapse.EXPAND);
        
        List<String> parameterValues = new ArrayList<String>();
        parameterValues.add("22.0");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("10.0");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");

        grabParameterTableAndVerify(AssetCommandHelper.getAssetCommandPanel(m_Driver, ASSET_NAME), 
                parameterValues);
        
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Camera Settings", ExpandCollapse.EXPAND);
        
        parameterValues.clear();
        
        parameterValues.add("1.0");
        parameterValues.add("1.0");
        parameterValues.add("CLOUDY");
        parameterValues.add("");
        parameterValues.add("");
        
        grabParameterTableAndVerify(AssetCommandHelper.getAssetCommandPanel(m_Driver, ASSET_NAME), 
                parameterValues);
        
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Camera Settings", ExpandCollapse.COLLAPSE);
    }
/*
     * Verify sync all works as intended.
     */
Verify sync all works as intended.
Verify sync all works as intended .
@Test
    public void testSyncAll() throws InterruptedException, ExecutionException, TimeoutException
    {
        AssetCommandHelper.executeSyncAll(m_Driver, ASSET_NAME);
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Pan Tilt", ExpandCollapse.EXPAND);
        List<String> parameterValues = new ArrayList<String>();
        parameterValues.add("22.0");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("10.0");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        parameterValues.add("");
        grabParameterTableAndVerify(AssetCommandHelper.getAssetCommandPanel(m_Driver, ASSET_NAME), 
                parameterValues);
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Camera Settings", ExpandCollapse.EXPAND);
        parameterValues.clear();
        parameterValues.add("1.0");
        parameterValues.add("1.0");
        parameterValues.add("CLOUDY");
        parameterValues.add("");
        parameterValues.add("");
        grabParameterTableAndVerify(AssetCommandHelper.getAssetCommandPanel(m_Driver, ASSET_NAME), 
                parameterValues);
        AssetCommandHelper.clickAccordionPanel(m_Driver, ASSET_NAME, "Camera Settings", ExpandCollapse.COLLAPSE);
    }
@ Test public void testSyncAll ( ) throws InterruptedException , ExecutionException , TimeoutException { AssetCommandHelper . executeSyncAll ( m_Driver , ASSET_NAME ) ; AssetCommandHelper . clickAccordionPanel ( m_Driver , ASSET_NAME , "Pan Tilt" , ExpandCollapse . EXPAND ) ; List < String > parameterValues = new ArrayList < String > ( ) ; parameterValues . add ( "22.0" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "10.0" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; grabParameterTableAndVerify ( AssetCommandHelper . getAssetCommandPanel ( m_Driver , ASSET_NAME ) , parameterValues ) ; AssetCommandHelper . clickAccordionPanel ( m_Driver , ASSET_NAME , "Camera Settings" , ExpandCollapse . EXPAND ) ; parameterValues . clear ( ) ; parameterValues . add ( "1.0" ) ; parameterValues . add ( "1.0" ) ; parameterValues . add ( "CLOUDY" ) ; parameterValues . add ( "" ) ; parameterValues . add ( "" ) ; grabParameterTableAndVerify ( AssetCommandHelper . getAssetCommandPanel ( m_Driver , ASSET_NAME ) , parameterValues ) ; AssetCommandHelper . clickAccordionPanel ( m_Driver , ASSET_NAME , "Camera Settings" , ExpandCollapse . COLLAPSE ) ; }
Verify sync all works as intended.
Verify sync all works as intended .