I have created a cucumber-jvm, selenium automation framework where test cases are written in Gherkin style(BDD) in feature file and i’m using scenario outline to execute same test case with multiple data set(data driven).
Now every input data from feature file represents test step in testrail.
Now consider i have a invalid login test case which gets executed for 2 invalid login credentials
- Invalid username & valid password
- valid username & invalid password
so currently what is happening is when this test gets executed it updates the result twice in testrail since it executes the same test twice with different data.
when the test case gets executed for varied input data set it should update only individual test step as pass/fail.
If all steps are passed then mark test case as passed and if one of the test step fails mark test case as failed.
so is it possible to achieve what i’m looking for? if yes can you please guide the way.
i had posted this question earlier as well but didn’t get any response.
any help on this much appreciated.!