Added test to verify default timezone for events

Select_And_Verify_Default_UTC_Timezone_For_Events

Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: Iab99daf38353e39e9a61895c2cf145befa3d96b5
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
index bad145f..f45c19a 100644
--- a/gui/lib/gui_resource.robot
+++ b/gui/lib/gui_resource.robot
@@ -105,3 +105,17 @@
     [Documentation]  Generate test error log.
 
     BMC Execute Command  ${CMD_INTERNAL_FAILURE}
+
+
+Set Timezone In Profile Settings Page
+    [Documentation]  Set the given timezone in profile settings page.
+    [Arguments]  ${timezone}=Default
+
+    # Description of argument(s):
+    # timezone  Timezone to select (eg. Default or Browser_offset).
+
+    Wait Until Page Contains Element  ${xpath_root_button_menu}
+    Click Element  ${xpath_root_button_menu}
+    Click Element  ${xpath_profile_settings}
+    Click Element At Coordinates  ${xpath_default_UTC}  0  0
+    Click Element  ${xpath_profile_save_button}