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
How do you get the width of the textbox?
How to test ajax application with selenium?
what is mutation testing, Difference between system and End to End testing,Give examples of bug having high priority but low severity except spelling mistakes and logo symbol.
Can you use Selenium to test the Rest API or Web services?
What are its advantages of pom?
Why should selenium be selected as a test program?
What is same origin policy and how it can be handled?
How to write in a text box using Selenium?
How do you upload a file?
When should I use selenium grid?
Using selenium ide is it possible to get data from a particular html table cell?
Mention what is selenium 3.0?
How to get the number of frames on a page?
What is Selenium IDE?
Tell me can selenium handle windows based pop-up?