Null Check
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-build action located under @Generic element, instructs the Avo Assure to verify the specified input is null value and save the result in dynamic variable.
Input Value: <Variable>
<Variable> (Required)
Specify the name of the variable whose value you want to check for null Supported Input format: Text, Static Value and Dynamic variable.
Output Value:
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable stores the status as true or false
Example
Performs a null check on the given variable The Null Check action takes the value from the Input Value column (e.g., {UserName}) and checks whether the given variable is null or empty. The result of the check is stored in the {NullCheck} variable, with the following possible values:
True – if the variable is null or empty.
False – if the variable contains a value or if the action fails.
Note: In this example, a Test Step using Create Dynamic Variable is added to check whether the dynamic variable holds any value.