Package org.citrusframework.actions
Class TraceVariablesAction
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.TraceVariablesAction
- All Implemented Interfaces:
Described,Named,TestAction,TestActorAware
Action that prints variable values to the console/logger. Action requires a list of variable
names. Tries to find the variables in the test context and print its values.
- Since:
- 2006
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(TestContext context) Subclasses may add custom execution logic here.Gets the variableNames.Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Constructor Details
-
TraceVariablesAction
Default constructor.
-
-
Method Details
-
doExecute
Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getVariableNames
Gets the variableNames.- Returns:
- the variableNames
-