Thursday 17 December 2015

Explain what are the JUnits annotation linked with Selenium?

The JUnits annotation linked with Selenium are
 @Before public void method() – It will perform the method () before each test, this method can prepare the test
 @Test public void method() – Annotations @Test identifies that this method is a test method environment
 @After public void method()- To execute a method before this annotation is used, test method must start with test@Before

No comments:

Post a Comment