blob: c747479758bf5cb422b17c3fc98ffa0162384171 [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.
12 Launch OpenBMC GUI Browser
13 Login OpenBMC GUI
14 Get OpenBMC System Info
15 Initial Message
16 LogOut OpenBMC GUI
17
18Initial 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
24Get 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
32Init 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