csv variable is not recognized during else condition


#1

Setup a condition if the expected result either is correct or different, a stored message along with the variable into a new variable.

during the true condition:
if|prof_user==profile

store result returned correct. Expected profile (stored from CSV) appeared

but during the else condition, stored string became the variable call syntax.

Please see screenshot.

image.png


#2

Thank you for the report. We will investigate and release a fix next week.


#3

We could not reproduce the issue. Was there any chance “profile” had not been defined when the “else” condition was executed in the first iteration of the “loadVars” loop?

If possible, can you share the script with us? It’s unnecessary to be executable - just to make the investigation easier. You can send it to info@katalon.com.

Sincerely,