allure2
allure2 copied to clipboard
Allure report not generated using allure results
I am new to Selenium learning to generate reports from Allure please help me I have downloaded the latest Allure file for windows, 1.2.17.3.zip(I have set the bin path in Environmental variables) .I have given the pom.xml allure dependency as 2.17.3 Now after running the testng suite,I can see the report are falling in the allure-results folder(.json files).
But when I try to convert them into reports using (allure serve target/allure-results it says no results files in the path)but I can see the files. My pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<groupId>alluretest</groupId>
<artifactId>allurerep</artifactId>

kindly help me where i am going wrong
When I run in command prompt it says its not in the path to generate the report.But i can see the report check screenshot
C:\Users\Raja Family>allure serve C:\Users\Raja Family\eclipse-workspace\allurerep\allure-results
Generating report to temp directory...
Family\eclipse-workspace\allurerep\allure-results does not exist
Report successfully generated to C:\Users\Raja Family\AppData\Local\Temp\14510116464729806576\allure-report
Starting web server...
2022-03-24 07:55:57.212:INFO::main: Logging initialized @2602ms to org.eclipse.jetty.util.log.StdErrLog
Server started at http://192.168.1.6:50904/. Press <Ctrl+C> to exit
use qoutes for space seperated path
C:\Users\Raja Family>allure serve "C:\Users\Raja Family\eclipse-workspace\allurerep\allure-results"
Thanks It's working now.Double quotes worked