mercredi 23 septembre 2015

Selenium web driver Java - Cannot fill the form

<tr><td class="multi-line required" style="min-width:120px;">Name:</td>
<td><div style="position:relative">
<span style="display:inline-block">
<input type="text" id="_96a1fa0eccfaf628" size="40" maxlength="64" 
placeholder="" name="96a1fa0eccfaf628" value="">
</span><font class="error">*</font>
</div></td>
</tr>

the code im using:

driver.findElement(By.id("_96a1fa0eccfaf628")).sendKeys("Test Org 002");

i have also tried By.name("96a1fa0eccfaf628"), but nope.

Aucun commentaire:

Enregistrer un commentaire