Add GUI automation test case for power usage page
Verify Existence Of All Buttons In Manage Power Usage Page
Change-Id: I93d286385ce9fc84ce79086153f5e92b2ac57cec
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot b/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot
index 34bed04..b5d180f 100644
--- a/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_manage_power_usage_sub_menu.robot
@@ -34,6 +34,15 @@
Page Should Contain Power cap value
+Verify Existence Of All Buttons In Manage Power Usage Page
+ [Documentation] Verify existence of all buttons in manage power usage page.
+ [Tags] Verify_Existence_Of_All_Buttons_In_Manage_Power_Usage_Page
+
+ Page Should Contain Element ${xpath_power_ops_checkbox}
+ Page Should Contain Element ${xpath_cap_input_button}
+ Page Should Contain Element ${xpath_submit_button}
+
+
Verify Server Power Cap Setting Is On
[Documentation] Verify server power cap setting is on.
[Tags] Verify_Server_Power_Cap_Setting_Is_On