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
0
votes
1 answer
Cannot ReInstall TestNg after uninstalling it
I uninstalled TestNG from my eclipse and then i tried installing it again in this mentioned steps
Help>Install new software>Selecting TestNG Checkbox>Clicking Next and
Finish buttons.
Then its showing the Error.

Arun
- 17
- 5
0
votes
0 answers
Is it possible to get particular cell value from Oracle Database Table and populate that value in the particular field on Web Page. If Yes then How?
I am able to get particular column value form the Oracle Database and populate that value in the particular field on the Web Page as below. However, I am not bale to figure it out how can I get particular cell value from Oracle Database Table and…

Curious
- 282
- 4
- 21
0
votes
2 answers
testng.xml can't run classes
I am right running in my testng.xml and as a testng Suite, but the class inside it doesn't run.
testng.xml file:

Moein
- 23
- 1
- 6
0
votes
1 answer
Cannot connect to RemoteNG Client. Check if old version of testng.jar is being used error-Eclipse Luna
I am getting an error like -
Cannot contact RemoteTestNG Client.Make sure you do not have older versions of testing.jar on your classpath.
Reason:Timeout while trying to contact RemoteTestNG.
I tried various solutions already present in stack…

Gopz
- 1
- 1
0
votes
1 answer
reportNG does not generate the test-ouput foler
I am using the testNG that with reportNG plugin for the test result.
In eclipse testNG setting, I was disable the testNG report as the default listeners and added reportNG.
When I right click the project and run as testNG, i could see the…

Boyka Zhu
- 391
- 1
- 4
- 18
0
votes
1 answer
Test Class unrecognized in Eclipse
I have this class, but eclipse does not recognize it as a test class, so I can not run it as a Junit test, I am using TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and…

Joaquim Maria Puyal i Ortiga
- 37
- 1
- 8
0
votes
0 answers
How to run TestNG with JBehave
My Story file:
**Given** a calculator
**When** I add 2 and 9
**Then** the outcome should 11
My Java Class:
import org.jbehave.core.annotations.Given;
import org.jbehave.core.annotations.When;
import org.jbehave.core.annotations.Then;
import…

prafful24
- 57
- 7
0
votes
1 answer
TestNG plugin is not present in Run configuration
I am going to use TestNG in my work but its not authorised to me to install testNG plugin from - http://beust.com/eclipse/
So I have download testNG jar and import in to eclipse however script is supporting all testng package and annotation but when…

Bhanu
- 40
- 1
- 8
0
votes
3 answers
How to set up testsuite files for execution across environments
I have a test suite file that needs ability to be executed from both mvn command line (from Jenkins) as well as on-demand from Eclipse.
The test suite file must have ability to support parameters, ie:

Greg
- 3,861
- 3
- 23
- 58
0
votes
2 answers
Is TestNG eclipse plugin version workability dependent on TestNG jar version in pom.xml?
Do the version have to be compatible? How do I find the compatibles?

kshah
- 11
- 2
0
votes
1 answer
CrossBrowser test with IE not working in testNG
I am trying to run a cross browser test in selenium using TestNG. It works fine in Firefox and Chrome, but not in IE. Script opens IE and on load, it points to URL - http://localhost:16189/
It doesn't navigate to base url.
Below is my config from…

Naresh
- 99
- 3
- 14
0
votes
1 answer
Can we run TestNG test cases via bat file on a independent machine? (machine which does not have the Eclipse project of the test being run)
I want to create a .bat file to run my TestNG test cases. I should be able to transfer the file to any computer and execute the test cases.
Is it possible to do the above in any way. If yes how?
Thanks

Sanket
- 31
- 1
- 2
0
votes
0 answers
While Running TestNG class throwing error as Null Pointer Exception?
I'm Learning TestNG FrameWork From guru99.com, when i add some code and run as TestNG its showing error as Null Pointer excetion here is my code.
public class DemoTestNG {
public String baseUrl = "http://www.newtours.demoaut.com/";
…

khanam
- 335
- 1
- 4
- 19
0
votes
0 answers
java.lang.NullPointerException error with eclipse and testng
am not able to run my first program using testNG and eclipse due following error logs.I am using eclipse and testNG for the first time.Thank you.
java.lang.NullPointerException
at
…

user3149675
- 1
- 2
-1
votes
1 answer
TestNG library missing in new SeleniumWebdriver java project
I am learning to use testNG and this is my first project with it. I added testNG dependencies to the POM. I chose not to instal testNG from the marketplace.
Below is my output. When I however on @Test, there was no option to import testNG library.…

taerese
- 53
- 5