*** Keywords ***
Test Data From JSON
${json} = get file C:/development/robot-scripts/TestProj/JsonFiles/TestData.json ->[Absolute path works fine]
${json} = get file ${CURDIR}/TestData.json ->[${CURDIR}: shows error variable definition not found]
${object} = evaluate json.loads('''${json}''') json
log Hello, my name is ${object["un"]} ${object["pwd"]} WARN
Here Absolute path to json file works fine. but i am not able to parse json data with relative path. Please help.