| 1. |
Which Are The Annotations Generated With Junit 4 Tests In Selenium Ide? |
|
Answer» The ANNOTATIONS GENERATED with JUnit 4 tests in Selenium are: @Before public void method(): Will perform the method() before each test. This method can prepare the test @Test public void method(): ANNOTATION @Test IDENTIFIES that this method is a test method.environment, e.g. read input data, initialize the class) @After public void method():Test method must start with test@Before - this annotation is USED for executing a method before. The annotations generated with JUnit 4 tests in Selenium are: @Before public void method(): Will perform the method() before each test. This method can prepare the test @Test public void method(): Annotation @Test identifies that this method is a test method.environment, e.g. read input data, initialize the class) @After public void method():Test method must start with test@Before - this annotation is used for executing a method before. |
|