In this post I will explain how to create a selenium project in selenium in proper structure and using POM.
Prerequisites
Create a JAVA project in eclipse.New Java project has been created as given in red oval.
Prerequisites
- Java 8
- Eclipse
- Maven
- Cucumber
- TestNG
Create a JAVA project in eclipse.New Java project has been created as given in red oval.
Convert Simple JAVA project to MAVEN by Right Click on Project > Configure >Convert to MAVEN
Now a target folder and pom.xml files will be created.
Update Project by Right click on project > Go to Maven > Click on Update Project
Add packages as in screenshot
Tree Structure of Selenium project






No comments:
Post a Comment