Monday, November 14, 2011

How to select the value in drop down using regular expression

How to select the value in drop down using regular expression, Selenium Notes, Examples, videos, by.www.laxmiroy.blogspot.com/


There are situation when we need to select the drop down value with some partial text .
With the help of regular expression we can select the drop down value

<tr>
 <td>select</td>
 <td>_sacat</td>
 <td>label=regexp:Fun*</td>
</tr>
selenium.select("_sacat", "label=regexp:Fun*");

No comments:

Post a Comment