Hello Everyone,
I am 4 weeks into Protractor and writing tests on an Angular JS
application. It's a login page with text box for username and password and
a button which is disabled until values are entered into the text boxes.
The html part of button is :
<div class="btn-group clear">
<button type="submit" ng-disabled="LoginForm.username.$pristine ||
LoginForm.password.$pristine || (!LoginForm.username.$pristine &&
LoginForm.username.$invalid) || (!LoginForm.password.$pristine &&
LoginForm.password.$invalid)" class="btn btn-default">Login</button>
</div>
The code to identify the button is :
var logInButton = element(by.css('[class="btn btn-default"]'));
logInButton.click();
My issue here is, this button click works perfectly fine on Chrome and
FireFox, latest version. But fails on IE 11.
I have tried different ways by taking id, css but nothing is working on IE.
Can some one please help?
Thanks,
Swarup
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.