Categories

Dec 9, 2019 in Testing

Q:

How to skip a method or a code block in TestNG?

1 Answer

Dec 9, 2019
To skip a particular test method or a code, then you can set the ‘enabled’ parameter in test annotation to false.

@Test(enabled = false)
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Feb 20 in BlockChain
Dec 9, 2019 in Testing
Apr 3 in Data Handling
...