COREDATAGENLIB
This library contains functions that help with the generation of random numbers and strings which can be used as test data inputs for a flow.
This section provides a list of functions in the library, along with the usage details.
randomStringWithGivenRange
Generates a random string within the specified number of characters, either in upper case of lower case based on the input parameters and stores it into a global variable specified in the Output Variable Name column.
Usage:
randomStringWithGivenRange(String minCharacters, String maxCharacters, String isUpperCase)
 
Input Parameters:
minCharacters- The minimum number of characters(min size) in the random string. Only numbers are allowed.
maxCharacters- The maximum number of characters(max size) in the random string. Only numbers are allowed
isUpperCase - Set to "true" if the random string needs to be in UpperCase, else set to "false". Only Boolean values are allowed.
randomString
Generates a random string of random length and stores it into a global variable specified in the Output Variable Name column.
Usage:
randomString ()
 
Input Parameters: None
ReturnType: String
randomNumber
Generates a random number of random specified size and stores it into a global variable specified in the Output Variable Name column.
Usage:
randomNumber()
 
Input Parameters: None
ReturnType: String