[wtr-general] Re: Need help how to work with watir testing angularjs app

2015-07-15 Thread Justin Ko
For the checkbox (copied from the answer on Stack Overflow http://stackoverflow.com/a/31431597/1200545): The problem with the checkbox is that it is not an HTML checkbox - ie input type=checkbox. Instead it is a md-checkbox, which I believe is from the Angular Material library. As a result,

[wtr-general] Re: Need help how to work with watir testing angularjs app

2015-07-15 Thread Super Kevy
You may wish to review: https://jkotests.wordpress.com/2012/08/28/locate-element-via-custom-attribute-css-and-xpath/ else something as simple as browser.text_field(:class,ng-pristine ng-valid ng-touched).send_keys('thefilename') The checkbox code eludes me, This looks like the remove