The TestNG Eclipse plug-in allows you to run your TestNG tests from Eclipse and easily monitor their execution and their output.
Questions tagged [testng-eclipse]
345 questions
8
votes
15 answers
Unable to read repository at http://beust.com/eclipse
Eclipse for Testers
Version: Indigo Release
Build id: 20110615-0604
I try to install TestNG but below error appeared.
"
Unable to read repository at http://beust.com/eclipse.
http://beust.com/eclipse is not a valid repository location.
"
Kindly…

Faizar
- 81
- 1
- 1
- 3
6
votes
6 answers
TestNG An internal error occurred during launching
I created a TestNG class (FirstTest.java) and when I run the test case as TestNG Test, I am getting the following error.
An internal error occurred during: "Launching FirstTest".
java.lang.NullPointerException
Eclipse Version: Luna Service Release…

Sug
- 61
- 1
- 1
- 3
5
votes
5 answers
TestNG link broken ? For Eclipse Responsive code 410
ı have a question. First time i install TestNG for JAVA but i have an error. So, Add link afterthat java show me error. Is the link I added broken? Pls help me... I'm sharing below...
The responsive code 410.
Some times TestNG freamework is…

Cyberoot
- 51
- 1
- 3
5
votes
2 answers
TestNG Reporter org.testng.reporters.JUnitReportReporter@7a79be86 failed java.util.ConcurrentModificationException
I'm new to TestNG framework, I have written script for an application using TestNG framework. Script working fine but yet I'm getting an error at the end of console. Error attached.
Please anyone can help me.
Thanks in advance.enter image…

user3782636
- 83
- 1
- 2
- 13
4
votes
0 answers
java.nio.file.ProviderNotFoundException: Provider "jar" not found
I keep getting this error that says provider "jar" not found even though my test passed. I run it using testNG and I am wondering if I need a jar file for this one? I tried searching it but I only found issues about zip and not jar. Please see my…

Newbie10
- 99
- 1
- 14
4
votes
1 answer
TestNG with DataProvider runs successfully but Eclipse View is not updated correctly
Problem:
When I run a TestNG test using a DataProvider providing a large number of test cases, the Eclipse view for TestNG is not appropriately updated. It stops updating at a random point, and the progress bar indicates that the tests are still…

user7291698
- 1,972
- 2
- 15
- 30
4
votes
1 answer
TestNG problems when running the project
Below is the reported error when I run TestNG.xml. Even though I changed the scope to compile, it still is not fixed. I've also built the project again. I would appreciate if someone can give a feasible solution for this.
Exception in thread "main"…

abhishek Sharma
- 140
- 2
- 14
3
votes
1 answer
Why are my @BeforeTest methods sometimes reported as the last element of previous test?
I have a testNG suite, executing some selenium code. I am testing navigation between pages in a webapp I have. There are four different user levels, which gives access to restricted pages, based on user type. I also need to test this in both Chrome…

jumps4fun
- 3,994
- 10
- 50
- 96
3
votes
1 answer
test-outpout folder not created with mvn clean install command while running Selenium webdriver script with TestNG
I created maven based Selenium project using TestNG framework.
When i run command :- "mvn clean install" from the command prompt then my script runs fine but "test-output" folder doesn't created and if i run my script via Eclipse right click on…

Suresh Sharma
- 186
- 1
- 5
- 23
3
votes
3 answers
How to make TestNG report show the lines that soft assertions failed
I am using Selenium, Java and TestNG to write tests. Sometimes I use many soft assertions in my unit tests and when they fail the TestNG reporter does not show the line of the code that they happened. Is there any way to make it show that? actually…

LoveLovelyJava one
- 343
- 1
- 3
- 16
3
votes
1 answer
Exception in thread "main" Error in Eclipse when trying to run TestNG class
When I attempt to run a sample TestNG class in Eclipse with Java 1.7.0_79 I get the following errror:
Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -protocol
at…

Tom
- 89
- 1
- 9
3
votes
5 answers
TestNG non static data provider method not working
I have a test class and test method. This depends on data provider method. The data provider method is in different class other than the test class or one of its base classes. As per TestNG documentation
If you want to put your data provider in a…

Sourav Chandra
- 952
- 2
- 7
- 11
2
votes
1 answer
Providing TestNG factory with data provider to invoke test methods - Not able to invoke test multiple times
I have used test dat provider and factory with sample data more like reading from excel rows with multiple values. So each Map denotes Column name and value of each row and adding it to list have all the values which are read from excel.
Now am…

Sriram S
- 169
- 14
2
votes
1 answer
testng-failed.xml is not getting generated even if the run contains failures
testng-failed.xml is not getting generated even if the run contains failures.
I am using
Eclipse
Version: 2019-06 (4.12.0)
Build id: 20190614-1200
Testng 7.0.0
This used to generate some time before and we were using it for rerunning the failed…

deepakguna
- 145
- 3
- 16
2
votes
0 answers
TestNG console is displaying blank only when running the suite using testng.run() command
I am running a TestNG.xml
I have created a maven project for my automation selenium script and added all the required dependencies to pom.xml. If I run the suite defined in the Testng.xml file using TestNG.run() command TestNG test result console…

Mayank Arora
- 21
- 3