I am trying to execute a test case which has if else statement.
So for my test some times if condition is true some time else part is true
when the if part is false and else part is executed , the test is marked has failed even though all steps pass actually.
It marks the last step has failed and in result log it shows the reason of failure for last step is because the if statement was false.
Following is accepted
But last case test fails because of the if condition is false