1*9b1b4a8eSRahul Maheshwari*** Settings *** 2*9b1b4a8eSRahul Maheshwari 3*9b1b4a8eSRahul MaheshwariDocumentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Server control". 4*9b1b4a8eSRahul Maheshwari 5*9b1b4a8eSRahul MaheshwariResource ../../lib/resource.robot 6*9b1b4a8eSRahul Maheshwari 7*9b1b4a8eSRahul MaheshwariSuite Setup Launch Browser And Login OpenBMC GUI 8*9b1b4a8eSRahul MaheshwariSuite Teardown Close Browser 9*9b1b4a8eSRahul MaheshwariTest Setup Test Setup Execution 10*9b1b4a8eSRahul Maheshwari 11*9b1b4a8eSRahul Maheshwari 12*9b1b4a8eSRahul Maheshwari*** Variables *** 13*9b1b4a8eSRahul Maheshwari 14*9b1b4a8eSRahul Maheshwari${xpath_reboot_bmc_button} //button[text()[contains(.,"Reboot BMC")]] 15*9b1b4a8eSRahul Maheshwari 16*9b1b4a8eSRahul Maheshwari 17*9b1b4a8eSRahul Maheshwari*** Test Cases *** 18*9b1b4a8eSRahul Maheshwari 19*9b1b4a8eSRahul MaheshwariVerify Existence Of All Sections In Reboot BMC Page 20*9b1b4a8eSRahul Maheshwari [Documentation] Verify existence of all sections in reboot BMC page. 21*9b1b4a8eSRahul Maheshwari [Tags] Verify_Existence_Of_All_Sections_In_Reboot_BMC_Page 22*9b1b4a8eSRahul Maheshwari 23*9b1b4a8eSRahul Maheshwari Page Should Contain Current BMC boot status 24*9b1b4a8eSRahul Maheshwari 25*9b1b4a8eSRahul Maheshwari 26*9b1b4a8eSRahul MaheshwariVerify Existence Of All Buttons In Reboot BMC Page 27*9b1b4a8eSRahul Maheshwari [Documentation] Verify existence of all buttons in reboot BMC page. 28*9b1b4a8eSRahul Maheshwari [Tags] Verify_Existence_Of_All_Buttons_In_Reboot_BMC_Page 29*9b1b4a8eSRahul Maheshwari 30*9b1b4a8eSRahul Maheshwari Page Should Contain Element ${xpath_reboot_bmc_button} 31*9b1b4a8eSRahul Maheshwari 32*9b1b4a8eSRahul Maheshwari 33*9b1b4a8eSRahul Maheshwari*** Keywords *** 34*9b1b4a8eSRahul Maheshwari 35*9b1b4a8eSRahul MaheshwariTest Setup Execution 36*9b1b4a8eSRahul Maheshwari [Documentation] Do test case setup tasks. 37*9b1b4a8eSRahul Maheshwari 38*9b1b4a8eSRahul Maheshwari Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 39*9b1b4a8eSRahul Maheshwari Click Element ${xpath_select_server_control} 40*9b1b4a8eSRahul Maheshwari Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 41*9b1b4a8eSRahul Maheshwari Click Element ${xpath_select_reboot_bmc} 42*9b1b4a8eSRahul Maheshwari Wait Until Page Contains Reboot BMC 43