InterviewSolution
Saved Bookmarks
| 1. |
How To Skip A @test Method From Execution In Testng? |
|
Answer» By using throw new SkipException() Once SkipException() THROWN, remaining part of that test METHOD will not be executed and CONTROL will goes directly to NEXT test method execution.
By using throw new SkipException() Once SkipException() thrown, remaining part of that test method will not be executed and control will goes directly to next test method execution. |
|