test-fullautomation / python-jsonpreprocessor

A preprocessor for json files
Apache License 2.0
2 stars 2 forks source link

Error message (10) #258

Closed HolQue closed 4 weeks ago

HolQue commented 1 month ago

In the expression on the left hand side of the colon all parameters are not existing:

${IAMNOTEXISTING1.${IAMNOTEXISTING2}}[${IAMNOTEXISTING3}] : 1

This is detected properly:

'The variable '${IAMNOTEXISTING2}' is not available!'

The same on the right hand side of the colon:

"param" : ${IAMNOTEXISTING1.${IAMNOTEXISTING2}}[${IAMNOTEXISTING3}]

causes:

'Invalid expression found: '${IAMNOTEXISTING1.${IAMNOTEXISTING2}}[${IAMNOTEXISTING3}]'.'

Why this? I would expect the same error message than in the first code example.

HolQue commented 1 month ago

Retest successful. Issue can be closed.

test-fullautomation commented 4 weeks ago

integrated in RobotFramework AIO 0.11.0