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?

2
  • Are you using any javascript task managers like grunt or gulp?
    – alecxe
    Commented Sep 2, 2017 at 23:02
  • alecxe I am using grunt. Commented Sep 3, 2017 at 8:21

1 Answer 1

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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