I have a situation where there is a test that gets data from a dataprovider. This dataprovider has a lot of rows (huge dataset). I would like to understand, if there is a way to find out which data the test failed for, when there is a failure. I run my tests through IntelliJ. One option I have in mind is to add an identifier to every row of data, but I would like to understand if there are better solutions.
How to identify which row in a dataprovider failed?
626 Views Asked by user3325862 At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in TESTNG
- Spring + TestNG Autowiring failure - NOT due to "new"
- How do I use DataProvider with Apache POI
- Unable to read excel if cell/column has drop down list enabled for Selenium webdriver TestNG
- Dynamic @Test generation in TestNG
- how to get a text string from
- Validation without skipping the test cases if one fails
- TestNG [Error] no test suite found. nothing to run
- How to handle failures in Test Suite in selenium webdriver
- mysql -how can we store Testng results to database
- Two empty instances of firefox browser opens testng selenium webdriver
- Eclipse - Not able to run TestNG tests
- TestNG ANT: disable ONLY the html reporter
- TestNG with IE webdriver
- running same test with different dataprovider in testng
- Overloading Selenium WebDriver Test Cases with DataProvider
Related Questions in TEST-DATA
- Storing test data in Excel/CSV vs DB
- Mahout 0.9: Using own test set instead of using split command
- How to pass own user data to check for the session
- Is it possible to share Facebook Test users between test apps?
- Training Data Vs. Test Data
- iPhone simulator - how to detect when app is running on simulator (so can setup test data)?
- define seed script and give example of 1 for cakephp on mysql
- Need help understanding the MLPClassifier
- Arranging test seed data using C# Generics and Method Chaining
- JUnit: Looking for communication path between @before method and individual test method
- How to identify which row in a dataprovider failed?
- How to configure JMeter to read data from Sharepoint excel?
- how to generate test data based on java object model?
- Generating test data via JSR223 Sampler and how to prevent the same thread (user) from spawning the same iteration of the JSR223 Sampler?
- How to generate real world text data for Kotlin Tests?
Related Questions in TESTNG-DATAPROVIDER
- running same test with different dataprovider in testng
- running depend testng method using @factory
- TestNG Factory to Run Test Classes Sequntially
- I am getting this error when executing Testng in selenium
- How To Check CheckBox From Multiple CheckBoxes On WebPage Using Data Provider(Excel) In Selenium WebDriver with JAVA
- How to get list of all tests in a package (and ones with data provider multiple times)
- Not able to run more than 10 Tests in parallel via TestNG Dataprovider
- which function gives me the dataprovider loop counter in testNG
- Invoke different classed based on the parameter provided in testng.XML
- TestNG Dataprovider Need help to run @Test individually based on test data
- TestNG with a constructor
- TestNG parametrization pass in method
- Getting an error as while reading a JSON file containing 'Usernames' and 'Passwords' using TestNG DataProviders in Selenium
- Checkbox not getting selected although it does not show error while running the test case.Can someoone give suggesstions to get a solution
- TestNG - Dataprovider at Class level test annocation
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Where are you looking for the results. Testng gives output with the parameters passed to the @test from which you can identify which data set was the test executed for. Look in the testresults folder.