Added testcase for Default UTC timezone

Change-Id: I2d4d83b069fb728891da9d281f297b094089661a
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>
diff --git a/gui/gui_test/gui_header/test_obmc_profile_settings.robot b/gui/gui_test/gui_header/test_obmc_profile_settings.robot
index 7b6c4bc..0780ef0 100644
--- a/gui/gui_test/gui_header/test_obmc_profile_settings.robot
+++ b/gui/gui_test/gui_header/test_obmc_profile_settings.robot
@@ -11,9 +11,11 @@
 
 *** Variables ***
 
-${xpath_new_password}      //input[@id="password"]
-${xpath_confirm_password}  //input[@id="password-confirmation"]
-${xpath_logged_usename}    //*[@data-test-id='appHeader-container-user']
+${xpath_new_password}                  //input[@id="password"]
+${xpath_confirm_password}              //input[@id="password-confirmation"]
+${xpath_logged_usename}                //*[@data-test-id='appHeader-container-user']
+${xpath_default_UTC}                   //*[@data-test-id='profileSettings-radio-defaultUTC']
+${xpath_profile_settings_save_button}  //*[@data-test-id='profileSettings-button-saveSettings']
 
 *** Test Cases ***
 
@@ -54,6 +56,26 @@
     Should Contain  ${gui_logged_username}  ${OPENBMC_USERNAME}
 
 
+Verify Default UTC Timezone Display
+    [Documentation]  Set default UTC timezone via GUI and verify timezone value in overview page.
+    [Tags]  Verify_Default_UTC_Timezone_Display
+
+    Click Element At Coordinates    ${xpath_default_UTC}    0    0
+    Click Element  ${xpath_profile_settings_save_button}
+
+    # Navigate to the overview page.
+
+    Click Element  ${xpath_overview_menu}
+    Wait Until Page Contains  Overview  timeout=30s
+
+    ${cli_date_time}=  CLI Get BMC DateTime
+
+    # Fetching hour and minute from BMC CLI to handle seconds difference during execution.
+
+    ${cli_hour_and_min}=  Convert Date  ${cli_date_time}  result_format=%H:%M
+    Page Should Contain  ${cli_hour_and_min}
+
+
 *** Keywords ***
 
 Test Setup Execution