Maven project is not generating TestNG results within the test-output folder in a Selenium project

0 votes

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

Any help would be appreciated. 

Jul 1, 2019 in Selenium by Vaishnavi
• 1,180 points
5,341 views

1 answer to this question.

0 votes

You can find the answer here.

In Run from testNg.xml directly -By default in maven project HTML reports get created into a test-output folder

In case we run from pom.xml using a surefire plugin - Reports will get created into target\surefire-reports.

answered Aug 30, 2020 by Karthikeya
• 140 points

Related Questions In Selenium

+1 vote
2 answers
0 votes
1 answer

Is there a way to pass on the options/ flags to Selenium if i'm scripting in Python?

This is the usage: from selenium import webdriver from ...READ MORE

answered Jun 8, 2018 in Selenium by king_kenny
• 3,710 points
4,959 views
0 votes
2 answers

Check that the element is clickable or not in Selenium WebDriver

Hi , you want to know only is ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
34,131 views
0 votes
2 answers
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,568 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,084 views
0 votes
2 answers

What is the role of TestNG & JUnit frameworks in Selenium?

TestNG and JUnit are test frameworks . it ...READ MORE

answered Sep 4, 2020 in Selenium by Sri
• 3,190 points
2,845 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,178 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP