Answer Posted / elakkiya
In Testng, we can skip method like below,
@test(enabled=false)
public void test()
{
// body
}
In JUnit, we can skip method and as well Class like below,
Class:
--------
@Ignore
public class IgnoreMe {
@Test public void test1() { ... }
@Test public void test2() { ... }
}
Method:
-----------
@Ignore
@Test
public void something() { ...
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Mention why to choose python over java in selenium?
What is pom (page object model)? What are its advantages?
What is the significance of testng.xml?
where do u maintain all your test cases in manual not in selenium
Where to obtain selenium ?
What is the difference between poi and jxl jar?
What is the selenium's recording language?
Tell us what are the two modes of views in selenium ide?
How to press enter key on text box in selenium webdriver?
How to hover the mouse on an element?
Explain the difference between implicit wait and explicit wait.?
What are some advantages of selenium?
How to download a file in selenium webdriver?
How can we move to a particular frame in selenium?
Mention what is intellij?