Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to skip a method or a code block in TestNG?
Home
Testing
How to skip a method or a code block in TestNG?
0
votes
asked
Dec 9, 2019
in
Testing
by
Robindeniel
How to skip a method or a code block in TestNG?
#code-block
Testing-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 9, 2019
by
sharadyadav1986
To skip a particular test method or a code, then you can set the ‘enabled’ parameter in test annotation to false.
@Test(enabled = false)
Related questions
0
votes
Q: How to set test case priority in TestNG?
asked
Dec 9, 2019
in
Testing
by
Robindeniel
#testng-priority
Testing-questions-answers
0
votes
Q: What is TestNG?
asked
Dec 9, 2019
in
Testing
by
Robindeniel
what-is-testng
Testing-questions-answers
0
votes
Q: Briefly explain what does below code snippet indicate?
asked
Dec 9, 2019
in
Testing
by
Robindeniel
#code-snippet
Testing-questions-answers
+1
vote
Q: The real objective of Software testing is to ensure 100% defect free product. State true or false.
asked
Jun 26, 2020
in
Testing
by
AdilsonLima
#testing
Testing-questions-answers
0
votes
Q: Tell me about some of the essential qualities an experienced QA or Test Lead must possess.
asked
Mar 29, 2021
in
Testing
by
sharadyadav1986
#qa-lead
test-lead
qa-process
Testing-questions-answers
0
votes
Q: From the perspective of the service provider, what is the person or group who defines or and agrees their service targets known as?
asked
May 11, 2020
in
Testing
by
SakshiSharma
#service-targets
Testing-questions-answers
0
votes
Q: Which test cases are written first: white boxes or black boxes?
asked
Dec 9, 2019
in
Testing
by
Robindeniel
#white-box-vs-black-box
Testing-questions-answers
0
votes
Q: Explain Bug Life Cycle or Defect life cycle.
asked
Dec 6, 2019
in
Testing
by
SakshiSharma
#testing-life-cycle
Testing-questions-answers
0
votes
Q: How do you test a product if the requirements are yet to be freezed?
asked
Mar 28, 2021
in
Testing
by
rajeshsharma
#testing
requirements
Testing-questions-answers
0
votes
Q: How to click on a hyperlink using linkText()?
asked
Dec 9, 2019
in
Testing
by
Robindeniel
#hyperlink
Testing-questions-answers
...