Add BMC GUI test cases for bmc power operation
Added Test Cases:
- Verify existence of all input boxes in host os boot settings.
- Verify existence of all sections in host os boot settings.
Change-Id: Ic6bbb5b9c2ecac52a4db236b82bbca0173a90095
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot b/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot
index 67da8d3..c86b4e9 100644
--- a/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_server_power_operations_sub_menu.robot
@@ -11,9 +11,27 @@
*** Variables ***
+${xpath_enable_onetime_boot_checkbox} //*[contains(@class,'custom-checkbox')]
+${xpath_boot_option_select} //*[@id='boot-option']
*** Test Cases ***
+Verify Existence Of All Input Boxes In Host Os Boot Settings
+ [Documentation] Verify existence of all input boxes in host os boot settings.
+ [Tags] Verify_Existence_Of_Input_Boxes_In_Host_Os_Boot_Settings
+
+ Page Should Contain Element ${xpath_enable_onetime_boot_checkbox}
+ Page Should Contain Element ${xpath_boot_option_select}
+
+
+Verify Existence Of All Sections In Host Os Boot Settings
+ [Documentation] Verify existence of all sections in host os boot settings.
+ [Tags] Verify_Existence_Of_All_Sections_In_Host_Os_Boot_Settings
+
+ Page Should Contain Boot settings override
+ Page Should Contain TPM required policy
+
+
Verify Existence Of All Sections In Server Power Operations Page
[Documentation] Verify existence of all sections in Server Power Operations page.
[Tags] Verify_Existence_Of_All_Sections_In_Server_Power_Operations_Page