1

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons:

  • It displays the results only after the whole suite has run. So the waiting time is a lot and at times ends up wasted as well!

-I apparently can't print and log the data created at each test step. So in the framework I have to check the console output to check the data.

How do I switch to extent reports without any risk of breaking anything. I have heard that extent reports is better and more User friendly. Does allure offer solution to the aforementioned two problems?

2
  • Can you please provide more input here, whether you are printing statement on console directly or creating separate log file. Jun 4, 2018 at 17:37
  • 1
    What's your tech stack? Jun 16, 2018 at 22:28

1 Answer 1

0

In your existing framework , you may write a function to write data in a file at runtime instead of console ,for this you don't need any additional fancy framework.

Although assuming if you are using Java with TestNG,you may add the maven dependencies and further classes of your new framework.And further you can create and call the object with reporter function in your framework assertion calls.

As far as impacting any existing framework is concerned, you may maintain multiple frameworks at the same time as long as keeping both reporter function calls in your assertion method in main automation framework.

Your Answer

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

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