mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/AssetCommandHelper.java
public static void executeSyncAll(final WebDriver driver, final String assetName) 
        throws InterruptedException, ExecutionException, TimeoutException
    {
        WebElement button = findCorrectSendButton(driver, assetName, "Sync All", "syncAll");
        assertThat(button, notNullValue());
        button.click();
        GrowlChecker.findGrowlMessage(driver, "Asset Command Synchronized:");
        
        GeneralHelper.sleepWithText(10, "Waiting for synced values to update the DOM");
    }
/**
     * Function to execute a sync all command on a specified asset.
     * 
     * @param driver
     *  the web driver to use
     * @param assetName
     *  the name of the asset on which the sync all command is to be performed
     */
Function to execute a sync all command on a specified asset.

@param driver
the web driver to use
@param assetName
the name of the asset on which the sync all command is to be performed
Function to execute a sync all command on a specified asset . @param driver the web driver to use @param assetName the name of the asset on which the sync all command is to be performed
public static void executeSyncAll(final WebDriver driver, final String assetName) 
        throws InterruptedException, ExecutionException, TimeoutException
    {
        WebElement button = findCorrectSendButton(driver, assetName, "Sync All", "syncAll");
        assertThat(button, notNullValue());
        button.click();
        GrowlChecker.findGrowlMessage(driver, "Asset Command Synchronized:");
        GeneralHelper.sleepWithText(10, "Waiting for synced values to update the DOM");
    }
public static void executeSyncAll ( final WebDriver driver , final String assetName ) throws InterruptedException , ExecutionException , TimeoutException { WebElement button = findCorrectSendButton ( driver , assetName , "Sync All" , "syncAll" ) ; assertThat ( button , notNullValue ( ) ) ; button . click ( ) ; GrowlChecker . findGrowlMessage ( driver , "Asset Command Synchronized:" ) ; GeneralHelper . sleepWithText ( 10 , "Waiting for synced values to update the DOM" ) ; }
Function to execute a sync all command on a specified asset.
Function to execute a sync all command on a specified asset .