Output : From the output, we see only tesecase1 has run. [TestNG] Running: testcase2 not a SANITY test so not included am in test method: t1 =============================================== Suite Total tests run: 1, Failures: 0, Skips: 0 ===============================================