Constructor and Description |
---|
RandomNumberFunction() |
Modifier and Type | Method and Description |
---|---|
static String |
checkLeadingZeros(String generated,
boolean paddingOn)
Remove leading Zero numbers.
|
String |
execute(List<String> parameterList,
TestContext context)
Method called on execution.
|
static String |
getRandomNumber(int numberLength,
boolean paddingOn)
Static number generator method.
|
public String execute(List<String> parameterList, TestContext context)
Function
execute
in interface Function
parameterList
- list of function arguments.InvalidFunctionUsageException
Function.execute(java.util.List, com.consol.citrus.context.TestContext)
public static String getRandomNumber(int numberLength, boolean paddingOn)
numberLength
- paddingOn
- Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.