Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

Basic Robot Framework Example

Below is a basic workflow for executing a Robot Framework test which is available on GitHub. You can paste this directly into the YAML of an existing or new test, just make sure to update the name and namespace for your environment if needed.

  • The spec.content property defines the location of the GitHub project
  • the spec.steps property defines a single step that runs the test and uploads the created reports.
Basic Robot Framework Workflow
kind: TestWorkflow
apiVersion: testworkflows.testkube.io/v1
metadata:
name: basic-robot-framework-test
namespace: testkube
labels:
docs: example
spec:
content:
git:
uri: https://github.com/cerebro1/robot-framework-test.git
container:
image: ppodgorsek/robot-framework:7.1.0
steps:
- name: Run test
shell: robot --outputdir /data/repo/output /data/repo/test-restful.robot
artifacts:
paths:
- /data/repo/output/*

After execution, you can see the output from the test executions under the executions panel tabs:

The log output from the Robot Framework execution:

Robot Framework Log Output