Forum Discussion
Thumb rule is each test case should be independent.
Isn't logout to be done for each test case?
For example if some one want to run a particular case, the steps should include both login and logout steps as well part of the test so that it would run independently?
Currently, this isn't the case, right?
If don't want the login, and logout steps for each test case, then alternatively use events feature to run login before test case,, and logout after the test case.
Yes, you are 100% right, I did same, I will do same, If it's regular logout like an app logout. But in my current case, it's totally different, the thumb rule we have to break here, have to execute logout service after all test cases, so that going to be either test suite tear down or project.
Thanks!
Related Content
- 6 months agoLearner_Pranavi