Closed HolQue closed 4 weeks ago
In following three code examples the not existing parameter is detected properly:
"listP" : ["A", "B"], "params" : ${listP}[${IAMNOTEXISTING}]
"listP" : ["A", "B"], "params" : [${listP}[${IAMNOTEXISTING}], "ABC"]
"listP" : ["A", "B"], "params" : {"ABC" : [${listP}[${IAMNOTEXISTING}], "DEF"]}
Result:
Error: 'The variable '${IAMNOTEXISTING}' is not available!'!
But after adding another level of nested brackets:
"listP" : ["A", "B"], "params" : [{"ABC" : [${listP}[${IAMNOTEXISTING}], "DEF"]}, "GHI"]
the result is:
{'listP': ['A', 'B'], 'params': [{'ABC': ['${listP}[${IAMNOTEXISTING}]', 'DEF']}, 'GHI']}
It is not detected any more that a parameter does not exist, and the entire dollar operator expression ${listP}[${IAMNOTEXISTING}] is inserted as string into the list.
${listP}[${IAMNOTEXISTING}]
But expected is the same error message than above.
Hello Holger,
This issue is fixed on statbi branch.
Thank you, Son
Hi Son,
huge improvement!
Thank you.
Retest successful. Issue can be closed.
integrated in RobotFramework AIO 0.11.0
In following three code examples the not existing parameter is detected properly:
Result:
Error: 'The variable '${IAMNOTEXISTING}' is not available!'!
But after adding another level of nested brackets:
the result is:
It is not detected any more that a parameter does not exist, and the entire dollar operator expression
${listP}[${IAMNOTEXISTING}]
is inserted as string into the list.But expected is the same error message than above.