title: Robot Framework - Get variable
body: <p>I am trying to get variable value from <em>report.xml</em> file using publicAPI. This is how report looks like:</p>
  <p><a href="https://i.stack.imgur.com/lAFwk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lAFwk.png" alt="report.xml" /></a></p>
  <p>It has a variable <strong>Var</strong> to which a <strong>Test</strong> value is assigned.</p>
  <p>I have created simple REST API to run tests:</p>
  <pre><code>from flask import Flask
  from flask import request
  
  from robot import run
  from robot import run_cli
  
  app = Flask(__name__)
  
  @app.route('/')
  def runRobot():
   robotName = request.args.get('robot')
   robotName = robotName + '.robot'
   rc = run(robotName)
   return str(rc)
  </code></pre>
  <p>I would like to return value of <strong>Var</strong> variable instead of execution code. I can't find a matching function in <a href="https://robot-framework.readthedocs.io/en/latest/" rel="nofollow noreferrer">documentation</a> that meets my requirements</p>
  <p>Is it even possible to do?</p>