Add automation testcase to retrieve user initiated BMC dump

Changes:
    -  Added an automation test case to verify retrieval of user initiated BMC dump.

Tested:
    -  Ran ‘Verify Retrieve User Initiated BMC Dump’ from sandbox successfully.

Change-Id: Ic56231327f5ba4da20ba56ea97b5f766178d4074
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/redfish/managers/test_bmc_dumps.robot b/redfish/managers/test_bmc_dumps.robot
index 1912691..0a652cc 100644
--- a/redfish/managers/test_bmc_dumps.robot
+++ b/redfish/managers/test_bmc_dumps.robot
@@ -510,6 +510,16 @@
     Download BMC Dump  ${dump_entries[0]}
 
 
+Verify Retrieve User Initiated BMC Dump
+    [Documentation]  Verify retrieval of user initiated BMC dump.
+    [Tags]  Verify_Retrieve_User_Initiated_BMC_Dump
+
+    ${dump_id}=  Create User Initiated BMC Dump Via Redfish
+
+    # Download BMC dump.
+    Download BMC Dump  ${dump_id}
+
+
 *** Keywords ***
 
 Extract BMC Dump
@@ -521,7 +531,7 @@
     # filename                name of BMC dump tar file.
     # bmc_dump_timestamp      timestamp of generated BMC dump.
 
-    File Should Exist  ${filename}
+    OperatingSystem.File Should Exist  ${filename}
     ${rc}=  Run And Return RC  dd if=${filename} of=output.zst bs=1 skip=628
     Should Be True  0 == ${rc}