Maven project does not generate testng results in selenium project

I have created maven project with selenium and TestNG. When I run the project using pom file it does not generate TestNG results (test-output folder). But when I run the project as testng.xml->(right click) run as -> TestNG suite, it generates the results

1 answer

  • answered 2018-03-21 15:47 DebanjanB

    While working with multiple frameworks e.g. TestNG, Maven, Gradle due to synchronization issues within your IDE the test-output folder doesn't gets populated and the output tends to remain buffered. In these cases once the Test Execution gets completed Refresh the Maven Project and your test-output folder would get populated with the intended outputs.