this question has answer here:
so declared integer. , have input field. , want use whatever have stored in integer value input field. possible?
here code, ideal ending:
int avpartqty = integer.parseint(avpartqty_substring); actions.searchresultsva_selectavailpartqty(driver).sendkeys(+avpartqty); //wish easy, lol. this text box:
<input name="txtqty" value="1" maxlength="5" id="txtqty" class="textboxnumeric" onkeypress="return validatefordecimal(this, event);" style="color:black;width:25px;" type="text">
you can use below code this,
int avpartqty = integer.parseint(avpartqty_substring); actions.searchresultsva_selectavailpartqty(driver).sendkeys(avpartqty+"");
Comments
Post a Comment