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

3
votes
2answers
61 views

IE not executing test case properly in selenium webdriver

I am running test cases on firefox and chrome browser versions its worked almost fine for me using selenium webdriver.But when it comes to use IE versions(9-11) i am getting below kind of error ...
0
votes
2answers
744 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
17 views

TestNG - SendKeys not completing data entry before moving to next field

I am trying to login to Gmail with two users. The data is exported from excel. Sometimes my test passes, but sometimes the first user login and logout processes successfully, but the second username ...
0
votes
1answer
240 views

How to modify testNG report in selenium java

I am running my script in java and getting the results in testNG. But in my application after filling up the form I am getting a confirmation alert message. I am able to read that alert message and ...
0
votes
1answer
89 views

How to open and get input from a popup before running test?

I want to open a popup before running my tests and after completing my test run. I want to give few inputs from the popup on basis of that my test will run. Suppose I have multiple links on which my ...
1
vote
0answers
52 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
319 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
284 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
491 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
669 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
51 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 ...
0
votes
0answers
47 views

got stuck in reusing the parameters value using testNG in selenium

I got stuck at one scenario where i want to get the values from the excel that contains 12 rows for four type of actions. i meant the first column of the every row on the sheet determines my methods ...
0
votes
0answers
219 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
159 views

Testng giving null pointer exception

I have installed testng plugin using "http://beust.com/eclipse" site. I used option of adding new software to eclipse. Then i converted my junit test cases to testng. But the test cases which were ...
0
votes
0answers
718 views

TestNG IRetryAnalyzer not working

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