You can store and later reuse values in Selenium IDE. Storing values? <tr> <td>storeEval</td> <td>window.document.domain</td> <td>variableName</td> </tr> All store commands start with store. A few examples:

  • storeEval: Stores the value of a JavaScript snippet.
  • storeAttribute: Can store the value of an html attribute. Example If you have: <href id=“example-id”>Hello world</href> Then: StoreAttribute | link=Hello World@id | idVariable Will give: example-id
  • there are many more store commands actually! Intelli-sense  in the IDE will certainly help you!

Getting/using values? You can reuse your stored values with ${variableName}. If you want to just display it in the log use: <tr> <td>echo</td> <td>${variableName}</td> <td></td> </tr>