2012-08-14 52 views
1

我有我的网页上的小程序文本框,哪个硒webdriver不承认。当applet加载时,我需要在该文本框内附加一个默认文本。 我该如何做到这一点?如何从webdriver向applet文本框添加文本?

Applet类在Javascript中编码,HTML结构如下。

<tbody> 
<tr> 
<td> 
<input type="hidden" value="FFM" name="origintype"/> 
<applet height="180" width="420" name="frtext" codebase="/applets"  code="textarea_counter_applet.class"/> 
</td> 
</tr> 
</tbody> 

回答