Package org.citrusframework.actions
Class LoadPropertiesAction
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.LoadPropertiesAction
- All Implemented Interfaces:
org.citrusframework.common.Described,org.citrusframework.common.Named,org.citrusframework.TestAction,org.citrusframework.TestActorAware
Action reads property files and creates test variables for every property entry. File
resource path can define a resource located on classpath or file system.
-
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(org.citrusframework.context.TestContext context) Subclasses may add custom execution logic here.Gets the file.Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Constructor Details
-
LoadPropertiesAction
Default constructor.
-
-
Method Details
-
doExecute
public void doExecute(org.citrusframework.context.TestContext context) Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getFilePath
Gets the file.- Returns:
- the file
-