What is the exact HTML code to simulate ENTER, ESC, BACKSPACE and DOWN in Selenium IDE 1.3.0?
typeKeys didn’t work nor did this:
<tr>
<td>keyDown</td>
<td>id=zc_0_4_3-real</td>
<td>10</td>
</tr>
<tr>
<td>keyUp</td>
<td>id=zc_0_4_3-real</td>
<td>10</td>
</tr>
<tr>
<td>keyPress</td>
<td>id=zc_0_4_3-real</td>
<td>10</td>
</tr>
For example to submit a form by pressing enter, the only one I can figure out is:
So it looks like this:
Hope it helps
Paul
Update:
keyPressAndWaitis deprecatedNow you can use:
Command:
sendKeys,Target:
id=<your id>,Value:
<your letter in utf8 and not ascii anymore>For non-printable keys you can have a look at this page:
http://www.testingdiaries.com/selenium-ide-keypress-events/