Made changes to test case to verify NTP server input fields

Changes :
  - Made changes to test case to verify NTP server input
fields in date and time page.
Tested :
  - Ran Verify NTP Server Input Fields In Date And Time Page
 test case from sandbox successfully

Change-Id: I19f6ba25e59ca619659989d016585ed1251021cb
Signed-off-by: sarandev3 <saranyad@in.ibm.com>
diff --git a/gui/gui_test/settings_menu/test_date_and_time_sub_menu.robot b/gui/gui_test/settings_menu/test_date_and_time_sub_menu.robot
index a9c701d..da62c42 100644
--- a/gui/gui_test/settings_menu/test_date_and_time_sub_menu.robot
+++ b/gui/gui_test/settings_menu/test_date_and_time_sub_menu.robot
@@ -134,10 +134,14 @@
 Verify NTP Server Input Fields In Date And Time Page
     [Documentation]  Verify NTP server input fields in date and time page.
     [Tags]  Verify_NTP_Server_Input_Fields_In_Date_And_Time_Page
+    [Setup]  Redfish Power off  stack_mode=skip
 
-    Redfish.Patch  ${REDFISH_NW_PROTOCOL_URI}
-    ...  body={'NTP':{'NTPServers': ['10.10.10.10', '20.20.20.20', '30.30.30.30']}}
-    ...  valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
+    Click Element At Coordinates  ${xpath_select_ntp}  0  0
+    Input Text  ${xpath_ntp_server1}  10.10.10.10
+    Input Text  ${xpath_ntp_server2}  20.20.20.20
+    Input Text  ${xpath_ntp_server3}  30.30.30.30
+    Click Element  ${xpath_select_save_settings}
+
 
     # Refresh the NTP Page.
     Click Element  ${xpath_refresh_button}