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 |
| 6 | Suite Setup Initializing Setup |
| 7 | Suite Teardown Init Teardown Steps |
| 8 | |
| 9 | *** Keywords *** |
| 10 | Initializing Setup |
| 11 | [Documentation] Initialize test environment. |
| 12 | Launch OpenBMC GUI Browser |
| 13 | Login OpenBMC GUI |
| 14 | Get OpenBMC System Info |
| 15 | Initial Message |
| 16 | LogOut OpenBMC GUI |
| 17 | |
| 18 | Initial Message |
| 19 | [Documentation] Display initial info about the test cases. |
| 20 | Rpvars EXECDIR |
| 21 | Rprint Timen OBMC_GUI Testing ==> [IN PROGRESS] |
| 22 | Print Dashes 0 100 1 = |
| 23 | |
| 24 | Get OpenBMC System Info |
| 25 | [Documentation] Display open BMC system info like system name and IP. |
| 26 | ${OPENBMC_HOST_NAME}= Get Hostname From IP Address ${OPENBMC_HOST} |
| 27 | Rpvars OPENBMC_HOST OPENBMC_HOST_NAME |
| 28 | ${build_info} ${stderr} ${rc}= BMC Execute Command cat /etc/os-release |
| 29 | ... print_output=1 |
| 30 | Print Dashes 0 100 1 = |
| 31 | |
| 32 | Init Teardown Steps |
| 33 | [Documentation] End the test execution by closing browser. |
| 34 | Print Timen OBMC_GUI Testing ==> [Finished] |
| 35 | Print Dashes 0 100 1 = |
| 36 | Close Browser |