I have this page where there is a text field, and there is a save button associated with each text field. I need to click on the save button to save the value in the text box. He works manually and uses selenium. But when launched through Selenium WebDriver, this does not save the value of the text field. But an error exception is not thrown. Login, click works. savetextvalue () does not start short. Similar problem. Selenium visit event does not trigger angularjs event
<pp-save-control fn-save-text="saveText();" btn-class="btn btn-default btn-mtl" button-id="btnkbaemailauthsub" place-holder-text="" input-class="tb-mtl" input-id="txtkbaemailauthsub" config-name="40" title-text="KBA email authentication subject" outer-container-class="div-mtl-header" class="ng-isolate-scope"><div class="div-mtl-header"> <span class="label-mtl ng-binding">KBA email authentication subject</span><img ng-hide="(isHelpHidden != null && isHelpHidden != 'true') ? false : true" class="help-mtl ng-hide" src="/Images/help.png"> <div class="div-mtl-tb-holder"> <input type="text" placeholder="" class="tb-mtl" name="txtkbaemailauthsub" id="txtkbaemailauthsub"> <button ng-click="saveTextValue();" ng-hide="false" class="btn btn-default btn-mtl btn-mtl-alignment" name="btnkbaemailauthsub" id="btnkbaemailauthsub" type="button">save</button> </div> </div> </pp-save-control>
There are several text fields and an associated save button. Depending on the value of "config-value" (you can see at the top), the value is saved.
angularjs selenium selenium-webdriver selenium-ide
manutd
source share