GUI test to verify system section of network setting page
Changes:
- Added test case "Verify System Section In Network Setting page"
Change-Id: I355e03a4deb156894e24d2fd5b77db5866dfa5a3
Signed-off-by: Anves Kumar rayankula <anvesr77@in.ibm.com>
diff --git a/gui/gui_test/server_config/test_obmc_gui_network_settings.robot b/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
index 4b4a70b..b98ca6b 100644
--- a/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
+++ b/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
@@ -102,6 +102,21 @@
Input Text ${xpath_static_input_ip0} ${OPENBMC_HOST}
+Verify System Section In Network Setting page
+ [Documentation] Verify hostname, MAC address and default gateway
+ ... under system section of network setting page.
+ [Tags] Verify_System_Section
+
+ ${host_name} ${ip_address}= Get Host Name IP host=${OPENBMC_HOST}
+ Textfield Value Should Be ${xpath_hostname_input} ${hostname}
+
+ ${mac_address}= Get BMC MAC Address
+ Textfield Value Should Be ${xpath_mac_address_input} ${mac_address}
+
+ ${default_gateway}= Get BMC Default Gateway
+ Textfield Value Should Be ${xpath_default_gateway_input} ${default_gateway}
+
+
*** Keywords ***
Suite Setup Execution