Adding button in the network GUI page

    Changes: Changes made to
    - Verify existence of all buttons in the network GUI page

    Tested: Ran and tested gui/gui_test/settings_menu/test_network_sub_menu.robot

Change-Id: Ib507db4a7173be7b655899a0089d58ae283c2225
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/gui/gui_test/settings_menu/test_network_sub_menu.robot b/gui/gui_test/settings_menu/test_network_sub_menu.robot
index d4b1c57..f8f5799 100644
--- a/gui/gui_test/settings_menu/test_network_sub_menu.robot
+++ b/gui/gui_test/settings_menu/test_network_sub_menu.robot
@@ -26,6 +26,7 @@
 ${xpath_cancel_button}                   //button[contains(text(),'Cancel')]
 ${xpath_delete_dns_server}               //*[@title="Delete DNS address"]
 ${xpath_save_button}                     //button[contains(text(),'Save')]
+${xpath_dhcp_toggle_switch}              //*[@id='dhcpSwitch']
 
 ${dns_server}                            10.10.10.10
 ${test_ipv4_addr}                        10.7.7.7
@@ -73,6 +74,7 @@
     Page Should Contain Button  ${xpath_domain_name_toggle}
     Page Should Contain Button  ${xpath_dns_servers_toggle}
     Page Should Contain Button  ${xpath_ntp_servers_toggle}
+    Page Should Contain Button  ${xpath_dhcp_toggle_switch}
 
 
 Verify Existence Of All Fields In Hostname
@@ -190,6 +192,7 @@
     ${hex_ip}            ${test_subnet_mask}  ${default_gateway}  Invalid format
     ${spl_char_ip}       ${test_subnet_mask}  ${default_gateway}  Invalid format
 
+
 *** Keywords ***
 
 Suite Setup Execution