Class GenericAddonsHelper
- java.lang.Object
-
- io.testproject.sdk.internal.addons.GenericAddonsHelper
-
- Direct Known Subclasses:
AddonsHelper
public class GenericAddonsHelper extends java.lang.ObjectHelper class allowing to execute Generic Addons.
-
-
Constructor Summary
Constructors Constructor Description GenericAddonsHelper(ReportingDriver driver, AgentClient agentClient)Initializes a new instance of the helper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionProxyexecute(ActionProxy action)Executes an Action using it's proxy.ActionProxyexecute(ActionProxy action, int timeout)Executes an Action using it's proxy.voidrun(GenericAction action)Runs the action.
-
-
-
Constructor Detail
-
GenericAddonsHelper
public GenericAddonsHelper(ReportingDriver driver, AgentClient agentClient)
Initializes a new instance of the helper.- Parameters:
agentClient- Agent client to use for communicating with the Agent.driver- The reporting driver.
-
-
Method Detail
-
run
public void run(GenericAction action)
Runs the action.- Parameters:
action- Action to run.
-
execute
public ActionProxy execute(ActionProxy action)
Executes an Action using it's proxy. Addons are tiny automation building blocks that have one or more actions. Addon Proxy can be obtained from the Addons page.- Parameters:
action- Specific Action proxy.- Returns:
- Presumably modified class with updated output fields.
- See Also:
- TestProject Addons page.
-
execute
public ActionProxy execute(ActionProxy action, int timeout)
Executes an Action using it's proxy. Addons are tiny automation building blocks that have one or more actions. Addon Proxy can be obtained from the Addons page.- Parameters:
action- Specific Action proxy.timeout- maximum amount of time allowed to wait for action execution to complete.- Returns:
- Presumably modified class with updated output fields.
- See Also:
- TestProject Addons page.
-
-