Skip to main content

Variables Management in H-TEST

This is the information about how to use and manage the variables in H-TEST.

Validations in Frontend of the data types:

Using more than one data type for the same variable

Using colors in messages that declare variables

Introduction of specific controls associated with variables

Validations in Backend

List of Casting allowed / not allowed in H-TEST

 

List of Casting allowed / not allowed in H-TEST

 

From/ToStringBooleanIntegerDoubleDateTable
StringDon't ApplyAssigns a Boolean object that represents the true value if the String is not null and is equal, ignoring case, to the “true” string.Returns Integer if String is a number. If it is a number like 100.00, everything that comes behind the point is deleted. If it is not number it throws exception.Returns Double if String is a number. If it is not a number, it throws an exception.Returns Date if String is date. If it is not a date, or does not find the format, it throws an exception.Returns a table with a column, and a row with the string.If the string is separated by comma, or semicolon, we create as many columns as commas.
BooleanReturns what the getStringValue () function returns;Don’t ApplyReturns 1 if it is true and 0 if it is falseReturns 1.00 if true, and 0.00 If it is falseException. Not allowed.Returns a table with a column, and a row with the boolean
IntegerReturns what the getStringValue () function returns;Returns true if it is a number greater than 0, and false if it is null or 0Don’t ApplyReturns the integer with .00Exception. Not allowed.Returns a table with a column, and a row with the Integer
DoubleReturns what the getStringValue () function returns;Returns true if it is a number greater than 0, and false if it is null or 0Returns an Integer (e.g. 5.25 → 5)Don’t ApplyException. Not allowed.Returns a table with a column, and a row with the Double
DateReturns what the getStringValue () function returns;Exception. Not allowed.Exception. Not allowed.Exception. Not allowed.Don’t ApplyReturns a table with a column, and a row with the Date
Table
(see the following chapter “Additional information about Variables in TAST”)
Returns what the getStringValue () function returns;Exception. Not allowed.Exception. Not allowed.Exception. Not allowed.Exception. Not allowed.Don’t Apply

 

 

Additional information about Variables in H-TEST

Confirmation when you are deleting messages and variables