Added change to get file from execution directory
Change-Id: I5997e0f541a239e07df40a3844214b421b3f41f0
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/redfish/extended/redfish_bmc_code_update.robot b/redfish/extended/redfish_bmc_code_update.robot
index e4d01a1..a681904 100644
--- a/redfish/extended/redfish_bmc_code_update.robot
+++ b/redfish/extended/redfish_bmc_code_update.robot
@@ -131,7 +131,7 @@
Redfish Upload Image And Check Progress State
${tar_version}= Get Version Tar ${IMAGE_FILE_PATH}
${image_info}= Get Software Inventory State By Version ${tar_version}
- ${get_json_file}= OperatingSystem.Get File lib/applytime_table.json
+ ${get_json_file}= OperatingSystem.Get File ${EXECDIR}/lib/applytime_table.json
${post_code_update_actions}= Evaluate json.loads('''${get_json_file}''') json
Run Key ${post_code_update_actions['${image_info["image_type"]}']['OnReset']}
Redfish.Login