title: How to use variable, which value should be set in keyword or test, in XPATH?
body: <p>I need to click on element based on what value it contains..but I want to set this value in test run or keyword definition (best option is in the test I guess)
  How should I do it?</p>
  
  <p>the variable containing xpath should look like that:</p>
  
  <pre><code>${DROPDOWN ITEMS}    xpath=//*[contains(@class,'listitem-element')]/span[contains(text(),'${second_number}')]
  </code></pre>
  
  <p>This locator works when I replace the variable with actual number like '002', but I want to have it more general..</p>
  
  <p>In keyword definition I use it like:</p>
  
  <pre><code>Choose Value From Dropdown
       focus    ${DROPDOWN ITEMS}
       click element   ${DROPDOWN ITEMS}
  </code></pre>
  
  <p>and in test I just call the keyword</p>
  
  <p>my question is <strong>where and how to set the variable value of ${second_number}</strong> variable used in xpath?
  PS:the xpath definition, keyword and test are each in separate files
  thank you!</p>