1

I am doing end-2-end testing with protractor.

And for creating a report of all these test cases, I am using protractor-html-reporter, which creates an .html file as report of all these test cases. All is good with that part.

What I want that after creating that html file, at the end I want to run it automatically on browser. Is it possible to do?

  • Are you using any javascript task managers like grunt or gulp? – alecxe Sep 2 '17 at 23:02
  • alecxe I am using grunt. – vikasgupta Sep 3 '17 at 8:21
1

Since you are using grunt - there is a related grunt plugin - grunt-open. You can configure this plugin to open your generated report once the tests are done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.