title: Robot Framework get name of current test case
body: <p>I have a set of test data that is categorized by test case, and I would like to have a test setup keyword that loads the data for each test case.  Something like this would work:</p>
  
  <pre><code>*** Keywords ***
  Load Test Data
      [Arguments]  ${test case name}
      ${data}=  Get File  ${test case name}.txt
      Set Test Variable  ${data}  ${data}
  
  *** Testcases ***
  First Test
      Load Test Data  First Test
      Log  ${data}
  
  Second Test
      Load Test Data  Second Test
      Log  ${data}
  </code></pre>
  
  <p>However, it would be nice not to have to include the "Load Test Data" keyword at the beginning of each test case.  Is there a keyword that can get the name of the test case, so I can call it inside of "Load Test Case" and make it a test setup keyword, like so?</p>
  
  <pre><code>*** Settings ***
  Test Setup  Load Test Data
  
  *** Keywords ***
  Load Test Data
      ${test case name}=  Get Test Case Name
      ${data}=  Get File  ${test case name}.txt
      Set Test Variable  ${data}  ${data}
  
  *** Testcases ***
  First Test
      Log  ${data}
  
  Second Test
      Log  ${data}
  </code></pre>
  
  <p>Basically, what would the equivalent of "Get Test Case Name" be?</p>
  
  <p>If it can't be done easily using Robot Framework keywords, I don't mind getting my hands dirty with Python.  I could create "Load Test Data" as a Python library if necessary.  Is there perhaps a class that stores the name of the current test case, that I could access?</p>