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
Can't launch simple Test with TestNG || Error reading configuration file
I'm struggling with this problem since 2 Days and i don't know:
1/what i did wrong
2/how to solve it
This is my Code. Very simple, no WebDriver, no Maven, no Ant, nothing.
Just a Test annotation and a System.out.println.
MyCode:
package…

IgorStravlov
- 9
- 4
0
votes
0 answers
TestNG will not install on Rad 8.5
I am trying to install TestNG on Rad 8.5. I go to Help->Install new software and then put http://beust.com/eclipse/ in the Work with: window and click on Add. I then put TestNG as the Name: in the Add Repository window which pops up. When I click…

ponder275
- 903
- 2
- 12
- 33
0
votes
2 answers
How to get elements from table in Selenium Web Driver JAVA
I am trying to Identify Elements of the page. I have table and there is lot of rows with multiple Inputs. How to access Input from table rows?
This is my java class
public class Setting extends Page {
/**Identify Elements of the page*/
…

Surendra Suthar
- 350
- 2
- 11
0
votes
1 answer
Security Exception While Running TestNG test in Eclipse
Getting the below error while trying to run the TestNG test in Eclipse Neon . Seems like there is some sort signed content in jar dependency which is blocking this . have no idea what its though ..Any suggestions on how to fix this . Have never…

Harikrishnan R
- 11
- 1
- 2
- 10
0
votes
1 answer
Why do non-unique group names in TestNG tests affect other test classes? Can I use the same group names in different test classes?
I have the same group names for the methods in 2 of my test classes in TestNG, e.g.:
@Test(description = "step 4", groups = "4", dependsOnGroups = "3")
However, when I run one of these tests, the other one gets automatically included in the…

Philip Manolov
- 3
- 1
0
votes
4 answers
Getting error on using TestNG
When running a java selendroid code with testNG, getting an error message, "A Java Exception has occurred." with below exception -
Exception in thread "main" java.lang.NoClassDefFoundError: org/testng/TestNGException
at…

Karma5
- 273
- 3
- 8
- 23
0
votes
1 answer
Is TestNG not compatible with Eclipse Neon?
I've got a new machine at work, finally! I've installed Ubuntu 14.04 on it and then installed Java 1.8 and Eclipse Neon. This seemed fine. I then went to the Eclipse Marketplace and installed TestNG. Whilst it looks like this has installed I can't…

Sven
- 1
- 1
0
votes
1 answer
Testng - invalid version "6.3-201110161418": non-numeric "3-201110161418"
Eclipse Java EE IDE for Web Developers.
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600
TestNG 6.9.11.201604020423 org.testng.eclipse.feature.group Cedric Beust
Testng is failing due to the below exception, have anybody came across this…

user1139928
- 131
- 1
- 1
- 6
0
votes
1 answer
TestNg all Tests are skipping
when I execute the my Testng code always the tests are Skipped. I got the below error
FAILED CONFIGURATION: @BeforeTest beforeTest
Below my code Snippet
@Test(dataProvider = "bhaskar")
public void f(String xpath,String values,String action,String…

Pala Bhaskar
- 311
- 1
- 2
- 9
0
votes
0 answers
How to Save the the .msi file using selenium web driver
I have to download the .msi file from the website using Selenium WebDriver. So I have written code for click on download button but I am not able to download the file file clicking Save button using Selenium WebDriver. It gives the download popup.

VinG
- 24
- 1
- 11
0
votes
1 answer
Unable to select the rating for a content using Selenium Webdriver
I have the below code to select a rating for a published content. But when i use the click() method, it selects the num1start even if i give the xpath to select the num3 star. I tried using Actions and still no luck.
Using Mac machine, Selenium…

Sharmila
- 17
- 2
- 6
0
votes
2 answers
Unable to Install TestNG in Eclipse luna and Mars version
unable to install TestNG in latest eclipse version

tonny
- 1
- 2
0
votes
1 answer
handle a dynamically changing element and a scroll bar
This is a screen shot of my webpage
Here is the html code
0
votes
2 answers
How to set testNG to ignore priority annotations of other classes inside the same test suite while running them in parallel?
At the moment I am getting that e.g. Test with priority = 1 in Class A has finished and is now waiting for Test with priority = 1 in Class B to finish before continuing which is a time waster.
All I want is my classes to run in parallel but to…
0
votes
1 answer
Unable to run the Ant file
When I run the ant file through command prompt, I can get an error like:
C:\Users\workspace\TestNGProject\Config>ant -buildfile reportng-build.xml Testng Buildfile: C:\Users\workspace\TestNGProject\Config\reportng-build.xml
init:[delete] Deleting…

Ashok kumar Ganesan
- 1,098
- 5
- 20
- 48