Recall & Review
beginner
What is Allure Report in test automation?
Allure Report is a flexible, lightweight tool that creates clear and detailed test reports. It helps testers see test results with steps, screenshots, and logs in a user-friendly way.
Click to reveal answer
beginner
How do you add Allure reporting to a Selenium Java project?
You add Allure by including its dependencies in your build file (like Maven or Gradle), then use annotations and listeners in your test code to generate reports automatically after tests run.
Click to reveal answer
intermediate
What is the purpose of the @Step annotation in Allure?
The @Step annotation marks methods as steps in the test report. It helps break down tests into readable actions, making reports easier to understand.
Click to reveal answer
intermediate
How can you attach screenshots to Allure reports in Selenium tests?
You capture screenshots during test execution and attach them using Allure's attachment feature, usually by calling a method annotated with @Attachment that returns the screenshot bytes.
Click to reveal answer
beginner
What command do you use to generate and open an Allure report after running tests?
After tests run, use 'allure serve ' to generate and open the report in a browser automatically.
Click to reveal answer
Which dependency is essential to add Allure reporting in a Maven Selenium Java project?
✗ Incorrect
The 'io.qameta.allure:allure-java-commons' dependency is required for Allure reporting integration.
What does the @Step annotation do in Allure reports?
✗ Incorrect
The @Step annotation marks methods as steps to be displayed in the Allure report.
How do you attach a screenshot to an Allure report in Selenium Java?
✗ Incorrect
Using @Attachment on a method that returns screenshot bytes attaches the image to the Allure report.
Which command opens the Allure report after test execution?
✗ Incorrect
The 'allure serve' command generates and opens the report in a browser.
What kind of information does Allure report NOT typically show?
✗ Incorrect
Allure reports do not show the source code of Selenium WebDriver; they focus on test results and related data.
Explain how to integrate Allure reporting into a Selenium Java project from scratch.
Think about dependencies, annotations, attachments, and report commands.
You got /4 concepts.
Describe the benefits of using Allure reports in automated testing.
Consider how Allure helps testers understand test results better.
You got /4 concepts.