2. Selenium and JUnit Setup
Eclipse Configuration for Selenium and JUnit Testing
- Create a New Java Project
File > New > Java Project
- Enter Project Name and Click Finish.
- No need to Generate a default module.
- Open Properties of your newly created java project.
- Select Build Path option.
- Click on
Classpath
and SelectAdd External JARs..
option from right panel.
- Extract Files from the zips you downloaded earlier.
- Select the Extracted JARs from main folder and libs folder too.
- Click on
Classpath
again and selectAdd Library..
option this time. - Select JUnit and Click Next.
- Select Desired JUnit Version From Dropdown list.
Apply and Close