#1: Allure Report in selenium using TestNG and Maven
SDET Adda For QA Automation SDET Adda For QA Automation
4.89K subscribers
32,655 views
284

 Published On Nov 27, 2022

Allure Report is a flexible multi-language test report tool to show you a detailed representation of what has been tested and extract maximum of useful information from everyday execution of tests.

From the developer /qa/tester perspective Allure reports shorten common defect lifecycle: test failures can be divided on bugs and broken tests, also logs, steps, fixtures, attachments, timings, history and integrations with TMS and bug-tracking systems can be configured, so the responsible developers and testers will have all information at hand.

From the dev/QA managers perspective Allure provides a clear 'big picture' of what features have been covered, where defects are clustered, how the timeline of execution looks like and many other convenient things. Modularity and extensibility of Allure guarantees that you will always be able to fine-tune something to make Allure suit you better.

I have explained following topics/questions in this video with the help of Examples-
How do you integrate allure reports in TestNG?
How do you integrate allure reports in Selenium?
What is allure TestNG?
How do I use allure report?
How do I display allure report?
What is allure test ops?

Steps to configure Allure report:

1) Maven Dependencies:
Test NG, Selenium Java,  WebDriver manager, Allure-TestNG 

2)Download Allure binaries(zip) and set the Path. 
Alternatively, allure can also be installed from Powershell using below commands-
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop install allure

3) Run tests using below command(Ensure maven is installed in your system)
mvn clean test

4) Now let us run below command to generate allure reports
allure serve

Reference websites:
https://mvnrepository.com/artifact/io...
https://docs.qameta.io/allure-report/

Download the allure binaries from:
https://github.com/allure-framework/a...

TestNG+ Selenium 4 in 2022/2023 tutorial:    • TestNG with selenium4 - Develop and T...  

show more

Share/Embed