Search in sources :

Example 11 with LocalProcessExecutor

use of com.axway.ats.core.process.LocalProcessExecutor in project ats-framework by Axway.

the class InternalProcessOperations method appendToEnvVariable.

@Action(name = "Internal Process Operations append To Env Variable")
public void appendToEnvVariable(@Parameter(name = "internalProcessId") String internalProcessId, @Parameter(name = "variableName") String variableName, @Parameter(name = "variableValueToAppend") String variableValueToAppend) {
    LocalProcessExecutor processExecutor = (LocalProcessExecutor) dataRepo.getObject(OBJECT_KEY_PREFIX + internalProcessId);
    processExecutor.appendToEnvVariable(variableName, variableValueToAppend);
}
Also used : LocalProcessExecutor(com.axway.ats.core.process.LocalProcessExecutor) Action(com.axway.ats.agent.core.model.Action) CallerRelatedAction(com.axway.ats.agent.core.action.CallerRelatedAction)

Aggregations

LocalProcessExecutor (com.axway.ats.core.process.LocalProcessExecutor)11 CallerRelatedAction (com.axway.ats.agent.core.action.CallerRelatedAction)6 Action (com.axway.ats.agent.core.model.Action)6 IProcessExecutor (com.axway.ats.core.process.model.IProcessExecutor)2 PublicAtsApi (com.axway.ats.common.PublicAtsApi)1 EnvironmentCleanupException (com.axway.ats.environment.EnvironmentCleanupException)1 AbstractRealBrowserDriver (com.axway.ats.uiengine.AbstractRealBrowserDriver)1 MobileOperationException (com.axway.ats.uiengine.exceptions.MobileOperationException)1 NotSupportedOperationException (com.axway.ats.uiengine.exceptions.NotSupportedOperationException)1 RobotException (com.axway.ats.uiengine.exceptions.RobotException)1 File (java.io.File)1 FileNotFoundException (java.io.FileNotFoundException)1 FileOutputStream (java.io.FileOutputStream)1 InputStream (java.io.InputStream)1 OutputStream (java.io.OutputStream)1 HashMap (java.util.HashMap)1 ChromeDriver (org.openqa.selenium.chrome.ChromeDriver)1 FirefoxDriver (org.openqa.selenium.firefox.FirefoxDriver)1