My application is built using Kendo UI MVVM
When I try to validate the value on a textfield, it always returns empty string. It is because the application is using Kendo UI MVVM. All values are data bind.
When I look at the DOM tree, it will be
<input id="txtWorkPhone" class="k-textbox" data-bind="value: selectedParentContact.WorkPhone">
Currently, I am using Selenium Java to do automation testing by the way.
Thanks
I hope this can be done using
JavascriptExecutor
Use this code -
As It will return the bind value of input textbox