Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Main initialization file for the test cases contained in this |
| 3 | ... directory and setting up the test environment variables. |
| 4 | |
| 5 | Resource lib/resource.robot |
Anusha Dathatri | aad48f2 | 2019-08-23 02:01:15 -0500 | [diff] [blame] | 6 | Library lib/utils_get_version.py |
Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 7 | Suite Setup Initializing Setup |
| 8 | Suite Teardown Init Teardown Steps |
| 9 | |
| 10 | *** Keywords *** |
| 11 | Initializing Setup |
| 12 | [Documentation] Initialize test environment. |
Sathyajith M S | 4f26ae7 | 2018-01-16 04:45:05 -0600 | [diff] [blame] | 13 | |
Anusha Dathatri | aad48f2 | 2019-08-23 02:01:15 -0500 | [diff] [blame] | 14 | ${software_versions}= Software Versions |
| 15 | Rprint Vars software_versions |
Sathyajith M S | 4f26ae7 | 2018-01-16 04:45:05 -0600 | [diff] [blame] | 16 | Get OpenBMC System Info |
Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 17 | Launch OpenBMC GUI Browser |
| 18 | Login OpenBMC GUI |
Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 19 | Initial Message |
| 20 | LogOut OpenBMC GUI |
| 21 | |
| 22 | Initial Message |
| 23 | [Documentation] Display initial info about the test cases. |
Sathyajith M S | 4f26ae7 | 2018-01-16 04:45:05 -0600 | [diff] [blame] | 24 | |
Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 25 | Rpvars EXECDIR |
Rahul Maheshwari | 31b3c43 | 2020-06-26 05:24:13 -0500 | [diff] [blame] | 26 | Log To Console OBMC_GUI Testing ==> [IN PROGRESS] |
Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 27 | |
| 28 | Get OpenBMC System Info |
| 29 | [Documentation] Display open BMC system info like system name and IP. |
Sathyajith M S | 4f26ae7 | 2018-01-16 04:45:05 -0600 | [diff] [blame] | 30 | |
Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 31 | ${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 S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 35 | |
| 36 | Init Teardown Steps |
| 37 | [Documentation] End the test execution by closing browser. |
Sathyajith M S | 4f26ae7 | 2018-01-16 04:45:05 -0600 | [diff] [blame] | 38 | |
Rahul Maheshwari | 31b3c43 | 2020-06-26 05:24:13 -0500 | [diff] [blame] | 39 | Log To Console OBMC_GUI Testing ==> [Finished] |
Sathyajith M S | e6956c0 | 2017-08-16 01:50:17 -0500 | [diff] [blame] | 40 | Close Browser |