Robot Test Framework

Execute Robot Framework test suites. The transport target needs Robot Framework at /usr/local/bin/robot. The FirmwareCI base image does not include it.

AttributeTypeRequiredDefaultDescription
cmdconstYesrobotCommand Name
namestringYesName to uniquely identify the teststep. This name will show up in reports, logs and the WebUI
transportTransportObjectYesAdditional transport options
optionsOptionsObjectNoAdditional command options
parametersRobot OptionsYesOptions passed into the robot cmd

Robot Options

AttributeTypeRequiredDefaultDescription
file_pathstringYesPath to the robot test file.
args[]stringNoArguments to pass to the robot test file.

Robot Example

cmd: robot
name: Run OpenBMC Test Automation Setup Test
transport:
  proto: local
parameters:
  file_path: "[[storage.openbmc_test_auto]]/openbmc-test-automation/templates/test_openbmc_setup.robot"
  args:
    - "OPENBMC_HOST:[[attributes.Host]]"
    - "OPENBMC_USERNAME:root"
    - "OPENBMC_PASSWORD:root"
    - "IPMI_USERNAME:root"
    - "IPMI_PASSWORD:root"
    - "REDFISH_SUPPORT_TRANS_STATE:1"