如何在Selenium IDE的css路径中包含存储的值?

时间:2012-01-17 09:33:26

标签: selenium-ide

例如:

<tr>
  <td>storeEval</td>
  <td>a_string</td>
  <td>my_var</td>
</tr>
<tr>
  <td>verifyElementPresent</td>
  <td>css=#some_id[some_value='<my_var>']</td>
  <td></td>
</tr>

1 个答案:

答案 0 :(得分:1)

CSS =#SOME_ID [SOME_VALUE = '$ {my_var}']