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 11 12*** Variables *** 13 14${xpath_start_button} //*[@class='vm__upload-start'] 15${xpath_choose_file_button} //*[@class='vm__upload-choose-label'] 16 17 18*** Test Cases *** 19 20Verify Existence Of All Sections In Virtual Media Page 21 [Documentation] Verify existence of all sections in virtual media page. 22 [Tags] Verify_Existence_Of_All_Sections_In_Virtual_Media_Page 23 24 Page Should Contain Virtual media device 25 26 27Verify Existence Of All Buttons In Virtual Media Page 28 [Documentation] Verify existence of all buttons in virtual media page. 29 [Tags] Verify_Existence_Of_All_Buttons_In_Virtual_Media_Page 30 31 Page Should Contain Element ${xpath_start_button} 32 Page Should Contain Element ${xpath_choose_file_button} 33 34 35*** Keywords *** 36 37Test Setup Execution 38 [Documentation] Do test case setup tasks. 39 40 Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 41 Click Element ${xpath_select_server_control} 42 Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 43 Click Element ${xpath_select_virtual_media} 44 Wait Until Page Contains Virtual media 45