Similar Posts

2 Comments

  1. Hi Raj,

    what is difference between ignoring(enable=false) the TC and skipping(throw new Skipexeption TC? Both serve same purpose rt to not to execute particular TC. In the interview if they How to skip the TC then do we need to tell both the options?

    Thank you

    1. Hi Deepa,
      ‘@Test(enabled = false)’ is used to bypass the test which is not ready to test.
      ‘throw new SkipException’ is used to throw an exception to skip some condition.

Leave a Reply

Your email address will not be published. Required fields are marked *