GUI-Network-Add 2 more TCs-Configuring invalid static IP address
Changes:
Adding the test cases:
"Configure And Verify Invalid Static IP Address" for the scenarios:
- Hex IP
- Special Characters
Tested:
- Tested in BMC Environment
Change-Id: Id6df5f6db5a21e8904d9a40ed0eae35574904f11
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 500d7d4..20f4f35 100644
--- a/gui/gui_test/settings_menu/test_network_sub_menu.robot
+++ b/gui/gui_test/settings_menu/test_network_sub_menu.robot
@@ -37,6 +37,8 @@
${string_ip} aa.bb.cc.dd
${negative_ip} 10.-7.-7.-7
${less_octet_ip} 10.3.36
+${hex_ip} 0xa.0xb.0xc.0xd
+${spl_char_ip} @@@.%%.44.11
${test_subnet_mask} 255.255.0.0
${alpha_netmask} ff.ff.ff.ff
${out_of_range_netmask} 255.256.255.0
@@ -45,7 +47,6 @@
${test_gateway} 10.7.7.1
${test_hostname} openbmc
-
*** Test Cases ***
Verify Navigation To Network Page
@@ -186,6 +187,8 @@
${less_octet_ip} ${test_subnet_mask} ${default_gateway} Invalid format
${string_ip} ${test_subnet_mask} ${default_gateway} Invalid format
${negative_ip} ${test_subnet_mask} ${default_gateway} Invalid format
+ ${hex_ip} ${test_subnet_mask} ${default_gateway} Invalid format
+ ${spl_char_ip} ${test_subnet_mask} ${default_gateway} Invalid format
*** Keywords ***