QStringArray

Stores an array of String values. Can be constructed with delimiter

Prop Name

Description

delimiter

Predefined Delimiters: comma, dot, hash, hyphen

delimiter.dot

delimiter.hash

Custom Delimiter: must be defined in square brackets. Some examples:

delimiter.[and] word and is delimiter

delimiter.[break by] word break by is delimiter

delimiter.['] character single quote is delimiter

Methods

void addItem(String strValue)

String removeAt(int index)

boolean remove(String strValue)

String getItemAt(int index)

QStringArray getItems(String matchDataName,String prefix)

boolean contains(String strValue)

boolean containsWithStr(String contstr)

boolean endWithStr(String contstr)

boolean startsWith(String prefix)

boolean isSorted(String orderBy)

Integer getSize()

boolean isEmpty()

String toJson()

String toJson(Object keyName)

String[] toStringArray()

String toString()

boolean doAssert(TFStepContext tfStepContext,String fieldName,QStringArray targetList)

Last updated