Im testing a scenario where there are about 100s of username and password. I should use each username-password pair one by one and then try login to application. Then logout. Login again in the same browser without closing it. Here if any of the credentials are invalid then only that particular row should be marked fail and rest should continue execution
I tried to search for the solution but couldnot get any proper resolution
Scenario: To test if the given list of users credentials are valid
Given user is already at Login page
And user enters credentails
| Username | Password |
| user1 | password1 |
| user2 | invalid |
| user3 | password3 |
| user4 | password4 |
| user5 | password5 |
| user6 | password6 |
| user7 | password7 |
Here the status of 2nd row of datatable should be marked failed in the report and rest of the data should be executed except the failed ones. Passed data should be marked PASS in the report. How to achieve this.