Class TraceVariablesAction

java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.TraceVariablesAction
All Implemented Interfaces:
org.citrusframework.common.Described, org.citrusframework.common.Named, org.citrusframework.TestAction, org.citrusframework.TestActorAware

public class TraceVariablesAction extends AbstractTestAction
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
  • Constructor Details

  • Method Details

    • doExecute

      public void doExecute(org.citrusframework.context.TestContext context)
      Description copied from class: AbstractTestAction
      Subclasses may add custom execution logic here.
      Specified by:
      doExecute in class AbstractTestAction
    • getVariableNames

      public List<String> getVariableNames()
      Gets the variableNames.
      Returns:
      the variableNames