0

I'm using Protractor for e2e tests. I want to test all the links in my website to see whether they are broken or not. the thing is that I can't use existing tools for 2 reasons: 1. we are using Angular, so the server doesn't really returns '404' code, but the result is 'http://www../404' 2. there is a login in order to go over the pages, and regular tools don't support it.

Can anyone help with how to do it using Protractor? Thanks.

user2880391
  • 2,683
  • 7
  • 38
  • 77
  • So what is your problem? If you need a kickstart with protractor, there are docs out there: http://angular.github.io/protractor/#/ – cvakiitho Nov 05 '15 at 14:07
  • 2
    Thanks! great answer. – user2880391 Nov 05 '15 at 14:20
  • now seriously - I already know Protractor, that was not the question. the question is how to build a spider-crawler link test for my website - to go over all pages and links and check the response. – user2880391 Nov 07 '15 at 21:44
  • Possible duplicate of [Protractor: Is it possible to test that there are no 404 in my app?](http://stackoverflow.com/questions/32204623/protractor-is-it-possible-to-test-that-there-are-no-404-in-my-app) – Michael Radionov Nov 09 '15 at 13:39

0 Answers0