Chameleon API Tests

Change-Id: I8002eb19add6e296f034adcdf7801d2ee54744cf
diff --git a/src/test/cord-api/Tests/Ch_defaultImagesCheck.txt b/src/test/cord-api/Tests/Ch_defaultImagesCheck.txt
new file mode 100644
index 0000000..541cf80
--- /dev/null
+++ b/src/test/cord-api/Tests/Ch_defaultImagesCheck.txt
@@ -0,0 +1,37 @@
+*** Settings ***
+Documentation     Test suite for checking default images for R-CORD
+Suite Setup       Read InputFile
+Test Template     Verify Image Check
+Library           Collections
+Library           String
+Library           OperatingSystem
+Library           XML
+Library           RequestsLibrary
+Library           ../Framework/utils/utils.py
+Library           ../Framework/restApi.py
+
+*** Variables ***
+${USER}           admin
+${PASSWORD}       admin
+${PATHFILE}       ${CURDIR}/data/defaultImages.json
+
+*** Test Cases ***    TYPE
+Test Default Images on R-CORD
+                      IMAGE
+
+*** Keywords ***
+Read InputFile
+    ${imageList}=    utils.jsonToList    ${PATHFILE}    imagesInfo
+    Set Suite Variable    ${ilist}    ${imageList}
+
+Verify Image Check
+    [Arguments]    ${type}
+    Run Keyword If    "${type}" == "IMAGE"    Test Image Check
+
+Test Image Check
+    ${json_result}=    restApi.ApiGet    CH_CORE_IMAGES
+    ${json_result_list}=    Get From Dictionary    ${json_result}    items
+    Log    ${json_result_list}
+    ${imageList}=    Get Variable Value    ${ilist}
+    ${test_result}=    utils.compare_list_of_dicts    ${imageList}    ${json_result_list}
+    Should Be True    ${test_result}