@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Randomizer
BaseDataBean
properties. It will be
used by BaseDataBean.fillRandomData()
method.
com.qmetry.qaf.automation.util.Randomizer.java
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
dataset |
java.lang.String |
format
can be used to generate random data in given format.
|
int |
length
data length default is 10
|
long |
maxval
can be used with RandomizerTypes.DIGITS_ONLY to set maximum value.
|
long |
minval
can be used with RandomizerTypes.DIGITS_ONLY to set minimum value.When
you use min and max then length will not be considered
|
java.lang.String |
prefix |
boolean |
skip |
java.lang.String |
suffix |
RandomStringGenerator.RandomizerTypes |
type |
public abstract RandomStringGenerator.RandomizerTypes type
public abstract long minval
public abstract long maxval
public abstract java.lang.String format
StringUtil.getRandomString(String)
Copyright © 2000 Infostretch Corp.