2

I'm using browserstack hub to run protractor. I have been looking for a good report without luck, I want a report containing the browsers tested and the platform, is there something like following using protractor, jasmine and browserstack ?

enter image description here

Would be great if we can have in the left the test name.

Thanks in advance.

rahpuser
  • 1,224
  • 10
  • 31

1 Answers1

2

From what I can recall, there is no mature reporter that can aggregate results from different capabilities. There is that protractor-multicapabilities-htmlreporter_v2 that is close to what you are asking about, but it's not active at the moment and is not widely used:

enter image description here

You can also dump test results with JUnitXmlReporter (separate report for each browser/capability) and then postprocess the results and create a combined report. There is junit-xml-parser library that would help you to parse the JUnit XML reports. You would just need some custom logic for aggregation part and creating the resulting report.

But, in general, I really like the idea and also need a similar functionality.

alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195