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
1
vote
0 answers
How to update data to an existing config.properties file without changing the sequence of the data?
I'm using the below code to update data in my existing config.properties file. Once it is written, the config.properties file's data are not in the same sequence as it was. How can I write/update the config file so that it only updates that specific…

Radi
- 13
- 4
1
vote
1 answer
How to execute a non compiled testNg test case in Java web application programmatically?
I am running test cases (TestNg testcases) programmatically, using java, by creating testng xml through code. Running Perfectly okay.
Problem:
I want to execute testcases which are being uploaded live, meaning my server is running and I am uploading…

Das Khatri
- 93
- 6
1
vote
1 answer
Test NG and Circle CI configuration
I have recently built a selenium test project. Now i want to host it on circle CI.
Can someone please provide me the step by step details with the configuration file.
I already have a Github and circle CI account. Im new to this integration aspect.

Kavya nagendra
- 83
- 1
- 9
1
vote
2 answers
can't able to call code inside src/test/java from src/main/java?
I am using testNG for writing test cases, all testcase code is inside src/test/java folder, now i want to run testcases inside this folder from a class inside src/main/java after deployment of the application,will it be possible?
file under…

Vipul Gupta
- 391
- 2
- 11
1
vote
0 answers
testng plugin installed on scalaIDE(eclipse) goes away after the system restarts
I have scalaIDE installed on my macOS.
Also I have installed TestNG plugin using market place.
When I shutdown my system and restart next day, I don't see TestNG features and I have to re-intsall again.
What might be the cause and how can I fix it…

user51
- 8,843
- 21
- 79
- 158
1
vote
6 answers
Error occurred during initialization of boot layer java.lang.module.FindException executing Selenium tests using TestNG and Java 12 through Eclipse
ErrorOccuredDuringInitializationofbootlayer I keep getting this error when I run
my test:
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for
…

John Delfin Aquilo
- 21
- 1
- 1
- 5
1
vote
5 answers
"TestNG No tests found. Nothing was run" while executing automated tests using Selenium through TestNG
I want to know what exact software should I install before I run my automation project. Selenium web driver, selenium java, testNG, junit was installed but there are some problems with that also.
1. Selenium java file doesn't have more JAR files…

Jimin Park
- 37
- 1
- 1
- 7
1
vote
1 answer
TestNG incompatible for Eclipse 2019-03
While trying to install TesgNG in Eclipse 2019-03 . I got TestNG message as incompatible for Eclipse 2019-03.Is there any solution for this problem?

Dip
- 57
- 1
- 10
1
vote
1 answer
Unable to select the side menu button in TestNG (Appium, Android)
The red box contains the button i want to access using driverI am new to this, but as far as i have searched there isn't a generic manner to click the side bars of your application.
I am currently trying to test Piazza application(for College…

Nomii
- 13
- 2
1
vote
1 answer
How to run multiple classes sequentially in TestNG.xml?
I have 2 classes in the same package which I need to run sequentially, ie, only after executing my 1st class should my 2nd class start executing. Right now, when I run my xml, 2 browsers are opening up at the same time. I tried giving…

Ramya Dipu
- 61
- 11
1
vote
1 answer
TestNG - What is the default value of thread-count, if not specified in testng xml?
For below TestNG XML file, I am not specifying the thread-count explicitly. What is the default value of thread count for the below XML?

Sandeep Nalla
- 173
- 2
- 15
1
vote
5 answers
Error while Installing TestNG Eclipse Plugin 6.14.3 Version
I am getting the following error while installing TestNG plugin( 6.14.3) in Eclipse.
Missing requirement: TestNG Eclipse Support 6.14.3.201902250526
(org.testng.eclipse 6.14.3.201902250526) requires 'bundle
org.eclipse.jdt.launching 3.10.0'…

Vinoop KS
- 263
- 4
- 8
1
vote
4 answers
How to run multiple methods in a class first before running the methods in other class while parallel execution
I'm facing with the following problem: I created two classes which include @Tests with priority attribute:
@Test( priority = 1 )
public void testA1() {
System.out.println("testA1");
}
@Test( priority = 2 )
public void testA2() {
…

Rashi
- 11
- 1
1
vote
2 answers
How to run a particular method if my test case failed(using TestNG)?
I'm writing test cases using TestNG.I want run a particular method after every failure test case.is there any way to run that method after every failure case?

user8632458
- 45
- 1
- 8
1
vote
1 answer
How do I retrieve (x) = Arguments from TestNG debug configuration?
I am trying to debug a TESTNG test using Debug Configurations option in Eclipse and I need to get the Program arguments inside my TestNG test. Could you please help me in accomplishing it?

Srinivasan Ramu
- 1,033
- 4
- 11
- 23