Selenium Webdriver test step by step

Add junit test

  1. Add a new test class AmazonShoppingFlowTest
  2. Generate test method testShoppingFlow using JUnit (ctrl + N)
import org.junit.Test;

public class AmazonShoppingFlowTest {
    @Test
    public void testShoppingFlow() throws Exception {
}

}