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
What are the different types of waits available in webdriver?
Explain Cucumeber Framework?
What is the command to connect a node to the selenium grid?
What is the selenium ide and what is it used for?
Disadvantages of Hybrid Framework?
How you can handle colors in web driver?
Mention different exceptions you had in selenium web driver?
What kinds of tests can Selenium support?
What are the prerequisites to run selenium webdriver?
Tell us what selenium components do you know?
Tell me what are the advantages of using git hub for selenium?
Tell me can we use selenium rc for tests driving on two different browsers on one operating system without selenium grid?
How can I learn to automate testing using selenium?
Write the code to right click an element in selenium?
How can we handle pop-ups in rc?