java - simulate key board input does not work -
i have web tag such:
<object tabindex="2" class ="commentclass" id="_comment_1491528136824_10" classid="clsid:0cbfd428-e975-4b41-a8c6-eb820fa5bde6" onkeydown="if(13==event.keycode || 27==event.keycode)commentguardctrl('_comment_container_1491528136824_10',0);"> <param name = "input2" value = "[\s\s]*"/> <param name = "kbmode" value = "1"/> <param name = "maxlength" value = "12"/> <param name = "input3" value = "^[a-za-z0-9!#$%&()*+,-./:;<=>?@[\]^_{|}~]{6,12}$"/> </object>
i want automatically enter text element, regardless use java selenium library or jni c++ simulate keyboard input, text can never go field. selenium library or jni c++ keyboard simulation code works fine in other html elements, not one.
can gurus me out? lot.
Comments
Post a Comment