1*** Settings *** 2 3Documentation Test OpenBMC GUI "Virtual Media" sub-menu of "Server control". 4 5Resource ../../lib/resource.robot 6 7Suite Setup Launch Browser And Login OpenBMC GUI 8Suite Teardown Close Browser 9Test Setup Test Setup Execution 10 11Test Tags OBMC_GUI_Virtual_Media 12 13*** Variables *** 14 15${xpath_start_button} //*[@class='vm__upload-start'] 16${xpath_choose_file_button} //*[@class='vm__upload-choose-label'] 17 18 19*** Test Cases *** 20 21Verify Existence Of All Sections In Virtual Media Page 22 [Documentation] Verify existence of all sections in virtual media page. 23 [Tags] Verify_Existence_Of_All_Sections_In_Virtual_Media_Page 24 25 Page Should Contain Virtual media device 26 27 28Verify Existence Of All Buttons In Virtual Media Page 29 [Documentation] Verify existence of all buttons in virtual media page. 30 [Tags] Verify_Existence_Of_All_Buttons_In_Virtual_Media_Page 31 32 Page Should Contain Element ${xpath_start_button} 33 Page Should Contain Element ${xpath_choose_file_button} 34 35 36*** Keywords *** 37 38Test Setup Execution 39 [Documentation] Do test case setup tasks. 40 41 Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 42 Click Element ${xpath_select_server_control} 43 Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 44 Click Element ${xpath_select_virtual_media} 45 Wait Until Page Contains Virtual media 46