Reputation: 83
I need to know how to clear a text field in Selenium IDE.
I have tried the sendKeys command with no luck.
Upvotes: 5
Views: 11469
Reputation: 1
send key with${KEY_SHIFT}${KEY_HOME}${KEY_SHIFT}${KEY_DELETE} works
Upvotes: 0
Reputation: 2461
Use "type" and for the value leave blank.
<tr>
<td>type</td>
<td>id=someID</td>
<td></td>
</tr>
Upvotes: 11