sridharbandi / Java-a11y

Accessibility Automated Testing with Java Selenium
https://sridharbandi.github.io/Java-a11y/
MIT License
12 stars 12 forks source link

Unable to generate HTML report #9

Closed neo81-83 closed 1 year ago

neo81-83 commented 4 years ago

Hello Sri,

I am not able to generate html report, json reports are getting created. See the screenshot below:

Screen Shot 2020-05-24 at 4 27 02 PM

I am using using the following code in AfterSuite hook. Accessibility.REPORT_PATH = System.getProperty("user.dir")+"/target/accessibility"; accessibilityRunner.generateHtmlReport();

Let me know what the issue is, thanks in advance. Also, is it Java11 compatible?

sridharbandi commented 4 years ago

Hi @neo81-83,

Is there any exception? Yes, it should be compatible with Java11.

neo81-83 commented 4 years ago

Null pointer exception..looks like generateHtmlReport method couldn't find any json.

sridharbandi commented 4 years ago

Hello Sri,

I am not able to generate html report, json reports are getting created. See the screenshot below:

Screen Shot 2020-05-24 at 4 27 02 PM

I am using using the following code in AfterSuite hook. Accessibility.REPORT_PATH = System.getProperty("user.dir")+"/target/accessibility"; accessibilityRunner.generateHtmlReport();

Let me know what the issue is, thanks in advance. Also, is it Java11 compatible?

Hi @neo81-83 Move the below line to BeforeSuite hook Accessibility.REPORT_PATH = System.getProperty("user.dir")+"/target/accessibility";

BeginnerQA commented 2 years ago

Hi @sridharbandi !

I am also running into a java lang error while generating html reports. the issue seems to be in the java.lang.NoSuchFieldError: VERSION_2_3_30 at io.github.sridharbandi.ftl.FtlConfig.(FtlConfig.java:21)

can you please check and see if anything's broken? Thanks!

sridharbandi commented 1 year ago

@BeginnerQA Please upgrade to version 3.0.2 and see if you still face the issue.

sridharbandi commented 1 year ago

Closing as there no activity