can anyone of you know how to generate allure report when we execute our tests parallelly in robot framework.
command used to run test cases in parallel
"pabot --processes 8 .\TestCases*.robot "
i would like to share if anything needed
Hi,
running --listener allure_robotframework with pabot the same as with robot command is not working for you? It should store all results in allure dir.
running --listener allure_robotframework with pabot the same as with robot command is not working for you?
This probably also needs some usage of --artifacts
and --artifactsinsubfolders
arguments for pabot.
For screenshots I guess he could use init Se library with variable for general screenshots directory:
Library SeleniumLibrary screenshot_root_directory=${DIRECTORY}(specific path or EMBED)
yes this command is working
pabot --processes 6 --outputdir .\Results --listener “allure_robotframework;Results/allure-results” .\TestCases
as this parallel execution generates output.xml files different for each test case
we need to merge them into one to generate allure report
so we need to use this command
rebot --merge --outputdir Results Results/pabot_results/*/output.xml
then need to generate allure report
I guess if
allure generate Results/allure-results
is not generating report with merged results for you, you could contact qameta people for help.
I assume allure doesn’t need merged output.xml.
From my exp with allurectl or allure jenkins plugin with pabot had no issue with this.
What’s weird here is that pabot will generate the final output.xml after all parallel executions are done.
I also try to run a simple test with 2 suites in pabot and allure listener enabled and didnt get any problems – allure cli was still able to generate and serve the report just fine