selenium-ide

Selenium IDE: Clearing a text field


I need to know how to clear a text field in Selenium IDE.

I have tried the sendKeys command with no luck.


Solution

  • Use "type" and for the value leave blank.

    <tr>
    <td>type</td>
    <td>id=someID</td>
    <td></td>
    </tr>