Input field is filled, but content is not saved using Selenium IDE -
using selenium ide, i'm able fill input field (using "type" command), when "save" value, value lost. doing same hand, works fine. hint solve issue? i've tried using typekeys command.
the code inside target page is:
<!-- language-all: lang-html --> <div id="editdiv" class="editdialog"> <table cellspacing="0" width="100%"> <tbody> <tr> <td width="25%" style="">period</td> <td align="right" width="25%" style="padding: 6px;"> <input id="period" type="text" onblur="changevalue(this.id, this.value, undefined)"> <br> <label>da 0 9</label> </td> </tr> </tbody> </table> <table cellspacing="0" width="100%"> <input type="button" value="save" onclick="applychanges()"> <input type="button" value="cancel" onclick="removeeditdialog(false)"> </div>
to more on issue:
function changevalue(id, value, parampos) { var par = tempglobalparams[id] ? tempglobalparams[id] : tempglobalpaintingsparams[parampos][id]; if(checkrules(id, value, parampos)){ par.custom = value; }
Comments
Post a Comment