blob: 795c63840501a6c5512153724486dc0703fbf219 [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
6Suite Setup Initializing Setup
7Suite Teardown Init Teardown Steps
8
9*** Keywords ***
10Initializing Setup
11 [Documentation] Initialize test environment.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060012
13 Get OpenBMC System Info
Sathyajith M Se6956c02017-08-16 01:50:17 -050014 Launch OpenBMC GUI Browser
15 Login OpenBMC GUI
Sathyajith M Se6956c02017-08-16 01:50:17 -050016 Initial Message
17 LogOut OpenBMC GUI
18
19Initial Message
20 [Documentation] Display initial info about the test cases.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060021
Sathyajith M Se6956c02017-08-16 01:50:17 -050022 Rpvars EXECDIR
Michael Walshc108e422019-03-28 12:27:18 -050023 Print Timen OBMC_GUI Testing ==> [IN PROGRESS]
Sathyajith M Se6956c02017-08-16 01:50:17 -050024 Print Dashes 0 100 1 =
25
26Get OpenBMC System Info
27 [Documentation] Display open BMC system info like system name and IP.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060028
Sathyajith M Se6956c02017-08-16 01:50:17 -050029 ${OPENBMC_HOST_NAME}= Get Hostname From IP Address ${OPENBMC_HOST}
30 Rpvars OPENBMC_HOST OPENBMC_HOST_NAME
31 ${build_info} ${stderr} ${rc}= BMC Execute Command cat /etc/os-release
32 ... print_output=1
33 Print Dashes 0 100 1 =
34
35Init Teardown Steps
36 [Documentation] End the test execution by closing browser.
Sathyajith M S4f26ae72018-01-16 04:45:05 -060037
Sathyajith M Se6956c02017-08-16 01:50:17 -050038 Print Timen OBMC_GUI Testing ==> [Finished]
39 Print Dashes 0 100 1 =
40 Close Browser