1 Answer

0 votes
by (14.0k points)
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

Related questions

0 votes
asked Aug 19, 2019 in Selenium by rahulsharma (909 points)