blob: 94ca0910d5ee8f933395a51bd23b6e4aa965d25e [file] [log] [blame]
Sathyajith M Se6956c02017-08-16 01:50:17 -05001*** Settings ***
2Documentation Main initialization file for the test cases contained in this
3... directory and setting up the test environment variables.
4
5Resource lib/resource.robot
Anusha Dathatriaad48f22019-08-23 02:01:15 -05006Library lib/utils_get_version.py
Sathyajith M Se6956c02017-08-16 01:50:17 -05007Suite Setup Initializing Setup
8Suite Teardown Init Teardown Steps
9
10*** Keywords ***
11Initializing Setup
12 [Documentation] Initialize test environment.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060013
Anusha Dathatriaad48f22019-08-23 02:01:15 -050014 ${software_versions}= Software Versions
15 Rprint Vars software_versions
Sathyajith M S4f26ae72018-01-16 04:45:05 -060016 Get OpenBMC System Info
Sathyajith M Se6956c02017-08-16 01:50:17 -050017 Launch OpenBMC GUI Browser
18 Login OpenBMC GUI
Sathyajith M Se6956c02017-08-16 01:50:17 -050019 Initial Message
20 LogOut OpenBMC GUI
21
22Initial Message
23 [Documentation] Display initial info about the test cases.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060024
Sathyajith M Se6956c02017-08-16 01:50:17 -050025 Rpvars EXECDIR
Rahul Maheshwari31b3c432020-06-26 05:24:13 -050026 Log To Console OBMC_GUI Testing ==> [IN PROGRESS]
Sathyajith M Se6956c02017-08-16 01:50:17 -050027
28Get OpenBMC System Info
29 [Documentation] Display open BMC system info like system name and IP.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060030
Sathyajith M Se6956c02017-08-16 01:50:17 -050031 ${OPENBMC_HOST_NAME}= Get Hostname From IP Address ${OPENBMC_HOST}
32 Rpvars OPENBMC_HOST OPENBMC_HOST_NAME
33 ${build_info} ${stderr} ${rc}= BMC Execute Command cat /etc/os-release
34 ... print_output=1
Sathyajith M Se6956c02017-08-16 01:50:17 -050035
36Init Teardown Steps
37 [Documentation] End the test execution by closing browser.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060038
Rahul Maheshwari31b3c432020-06-26 05:24:13 -050039 Log To Console OBMC_GUI Testing ==> [Finished]
Sathyajith M Se6956c02017-08-16 01:50:17 -050040 Close Browser