Questions tagged [testng-eclipse]

The TestNG Eclipse plug-in allows you to run your TestNG tests from Eclipse and easily monitor their execution and their output.

References:

345 questions
1
vote
2 answers

An internal error occurred during launching testng in eclipse

I have created the simple test class and getting error while executing it "An internal error occurred during: "Launching test". java.lang.NullPointerException". I am fed up with this problem. I searched a lot on google and applied all the possible…
sudha vedi
  • 97
  • 1
  • 11
1
vote
1 answer

RemoteTestNG.java : 76 error while running TestNG test set

Below is the code which I am trying to run. As I run the below code, the website of Mercury tour opens and the execution stops there throwing a list of errors that are mentioned below after this code. I tried uninstalling and re-installing TestNG…
1
vote
1 answer

Run As TestNG is not shown for class extending AbstractTestNGCucumberTests

Please note that I've searched for this particular question & found couple of them but none of them had scenario related to cucumber integration. I've a test runner class extending AbstractTestNGCucumberTests. I've also installed Eclipse TestNG…
vikramvi
  • 3,312
  • 10
  • 45
  • 68
1
vote
2 answers

Eclipse not showing run as maven test when right click on maven project

I have created a maven project through Eclipse and added all dependency's and plugins to pom.xml file. Now, I have created a package as "com.Qedge" under "src/test/java" folder then,created a class under com.Qedge package with a piece of code…
Sri
  • 31
  • 1
  • 3
  • 5
1
vote
1 answer

Run a java file using JUnit in Eclipse through command terminal

I am new to automation using Appium. So while using Eclipse i created a TestSuite.java file which includes all of my test cases.I want to run this file using JUnit in eclipse through command terminal.Please help me with command in mac. I am using…
Dinesh Kumar
  • 545
  • 4
  • 17
1
vote
1 answer

selenium webdriver - wait until google map all tiles loaded

I'm new to selenium and I'm kind of stuck. I'm automating GWT base application and I need to wait till map tiles are fully loaded before moving to next process. I'm try to find in google but no luck. I found something like public static final void…
Pranav Patel
  • 1,541
  • 14
  • 28
1
vote
1 answer

How to run the same code for multiple input files in TestNG framework?

My test class has some code which does the desired validation. Test Class: @Parameters({ "InputFile01"}) @Test public void testCase01(String InputFile01) { //Code xyz } @Parameters({ "InputFile02"}) @Test public void testCase01(String…
Deepak543
  • 33
  • 5
1
vote
1 answer

How to get TestNG results on jenkins while building?

I'm trying to get tests results while the job is building. When we run tests suite by eclipse we get tests results from TestNG viewer while running the suite, I want to get the same viewer or similar in Jenkins to know the current status of the…
Nael Marwan
  • 1,030
  • 1
  • 13
  • 32
1
vote
7 answers

Not able to Install TestNG in Eclipse-Kepler

When I tried to Install TestNG on my VM (virtual Machine) getting an error "Unable to read repository at http://beust.com/eclipse/content.xml." "peer not authenticated" I tried many solution available in the net but no luck. Can any one please…
Kannan C
  • 93
  • 2
  • 3
  • 9
1
vote
0 answers

TestNG download failure

I have been trying to install TestNG from the Eclipse Marketplace but getting the below error. What am I doing wrong? Can anybody help? Error from Eclipse MarketPlace while downloading TestNG:
Nishant
  • 11
  • 3
1
vote
1 answer

How to use TestNG annotations when the framework is Hybrid and test cases are driven by excel in Selenium?

When I use a Hybrid framework using Selenium where my test cases are driven by Excel, how can I use TestNG annotations like @Test for my test cases which are in Excel format? Meaning, I have all my test steps converted in Excel as Element, Action…
1
vote
3 answers

testng.xml not executing classes one by one

PhFramework.pizzas.bbqMeatFeast.cheesyBites.LargeTest should execute all tests before proceeding to PhFramework.pizzas.bbqMeatFeast.classicCrust.LargeTest TestNG seems to be executing the first @Test within all the classes, if i execute only one…
Gbru
  • 1,065
  • 3
  • 24
  • 56
1
vote
1 answer

Executing all test methods of a class while accessing only particular group of that class in TestNG

I have following code snippet- Class 1 :- DependencyOne.java public class DependencyOne { @Test(groups = "xxx") public void parentTestMethodOne() { System.out.println("parent Test Method One"); } @Test(groups = "vizac") …
NarendraR
  • 7,577
  • 10
  • 44
  • 82
1
vote
0 answers

TESTNG ConcurrentModificationException while running with @Test invocation count greater than 1

I am experiencing the following issue while running my tests. However, it only happens when I am using @DataProvider with a @Test that has invocation count greater than 1. I am not sure if the following link below is the same issue, because if I…
1
vote
0 answers

Unable to launch TestNG Test - Shows a pop-up dialog

I'm trying to launch some TestNG tests in Eclipse, which were working earlier. But now it doesn't run at all, and shows a dialog saying "Launching myclassname has encountered a problem." It doesn't happen to all the tests in the package, but only to…