Answers

Question and Answer:

  Home  Selenium Remote Control

⟩ Which are the annotations generated with JUnit 4 tests in Selenium IDE?

The annotations generated with JUnit 4 tests in Selenium are:

1. @Before public void method() - Will perform the method() before each test. This method can prepare the test

2. @Test public void method() - Annotation @Test identifies that this method is a test method.environment, e.g. read input data, initialize the class)

3. @After public void method() - Test method must start with test@Before - this annotation is used for executing a method before.

 113 views

More Questions for you: