TestNG is a test automation framework, inspired by the JUnit/NUnit unit testing frameworks. TestNG is intended to support more than just unit testing, allowing functional, end-to-end, integration, etc.

learn more… | top users | synonyms

0
votes
2answers
1k views

Can I force a Jenkins job to report a successful TestNG test even when the suite has failures?

Can I force a Jenkins job to report a successful TestNG test even when the suite has failures? I have a test suite with 100 tests and I want to report a success in Jenkins if there are 3 or fewer ...
0
votes
1answer
1k views

How to run TESTNG failed test cases in jenkins for maven project?

I am new to jenkins and I have configured it on my windows PC. I have to run failed test cases twice before considering that they are failing. I am using TestNG and selenium webdriver for writing test ...
1
vote
0answers
47 views

How to disable specific Maven and TestNG test listeners when running tests from groups?

I am using Maven and TestNG to support my Selenium testing framework for a project. I am using a custom test listener to report results into TestRail (our TCM tool). I am also using another custom ...
1
vote
0answers
58 views

Feed TestNG tests

recently i used feed4testng in order to run multiple instances of test using a dataprovider with feed4testng tool. But this tool only iterates through external resources. Is there any other tool for ...
1
vote
0answers
390 views

How to keep test cases synced with HP ALM after refactoring?

We're planning to automate test synchronization between HP ALM QC and our TestNG test cases. We want to keep them synced in the following scenarios: Test adding: When creating TestNG test, a test ...
1
vote
0answers
316 views

Selenium Webdriver and OpenLayers

I would like to check that the locations asset on map (openLayer) are the same with some asset in a row. What is the best way to do this? I'm using the TestNG framework.
1
vote
0answers
580 views

How to report test execution method when using @Factory in TestNG?

I am using @Factory annotation from TestNG to create tests dynamically. It will read a property file that contains the list of test cases to be executed and return them. @Factory public Object[] ...
1
vote
0answers
888 views

Dependent methods in the same class run out of order only when included in a “testng suite”; running class independently respects the dependency

I have a class with dependent methods using the TestNG annotation dependsOnMethods The test runs fine 100% of the time if I simply run it as a TestNG Test from the package. When I include the test ...
0
votes
0answers
22 views

unable to get testng report one by one both report is coming simultanously

I have two testng.xml file. I did entry for these two testng.xml file in pom.xml like that <suiteXmlFiles> ...
0
votes
0answers
118 views

TestNG with Selenium Data and Keyword Driven Framework

I am new to TestNG. I'm using Hybrid Framework For Automation Testing, it's Hybrid Architecture based, in which Keyword(Java Methood name) and data is provided in Excel sheet, and based on that ...
0
votes
0answers
908 views

Data driven testing using SeleniumWebdriver,TestNG and Apache POI

! I'm using Selenium Webdriver, TestNG and Apache POI for my data driven test. Below is the code I'm using but the test is failing with the following exception: SKIPPED: testLogin ...
0
votes
0answers
940 views

TestNG IRetryAnalyzer not working

I am using TestNG IRetryAnalyser and I am facing the following issues: When I implement the listener and override the retry() method, Ì get the following error: Listener ...