title: Robot Framework change table cell value with Press Key
body: <p>I'm trying to make a robot test where I input a value into a table cell and then hits enter to update the table.</p>
  
  <p>I tried first with Input Text, but it doesn't work with table cells since they are not text fields:</p>
  
  <pre><code>Input Value To Cell
    |  [Arguments]   ${row}    ${col}    ${amount}
    |  Double Click Element   xpath=//*/table/tbody/tr[${row}]/td[${col}]
    |  Input Text   xpath=//*/table/tbody/tr[${row}]/td[${col}]   ${amount}
  </code></pre>
  
  <p>This results with:</p>
  
  <p>InvalidElementStateException: Message: invalid element state: Element must be user-editable in order to clear it.</p>
  
  <hr>
  
  <p>I think my only option is to use Press Key and provide it with the cell location. So, this is what I've tried:</p>
  
  <pre><code>Input Value To Cell
    | [Arguments]   ${row}    ${col}    ${amount}
    | ${cell}   Get Table Cell    xpath=//*   ${row}    ${col}
    | Press Key   ${cell}   ${amount}
  </code></pre>
  
  <p>This results with: Cell in table xpath=//* in row #x and column #y could not be found. I've tried checking already set cell values with Table Should Contain and it finds a table with that?</p>
  
  <hr>
  
  <p>Double Click works just fine, it makes the cell 'editable', so I'm just looking for a way to write something. I couldn't find any keywords to just write or press keys (something like Press Key but without the locator, just pressing buttons).</p>