| 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)
Functionexecute in interface FunctionparameterList - list of function arguments.InvalidFunctionUsageExceptionFunction.execute(java.util.List, com.consol.citrus.context.TestContext)public static String getRandomNumber(int numberLength, boolean paddingOn)
numberLength - paddingOn - Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.