We accept created novel projection alongside advert "MavenProject" from ascendence prompt during previous post. Now nosotros needs to Import maven projection In eclipse as well as thence nosotros tin practise as well as run selenium test In It. We volition become measurement yesteryear measurement to Import projection In eclipse every bit bellow.
Step i : Make "MavenProject" compatible to Import In eclipse
Any projection needs .classpath as well as .project files nether projection folder to Import It In eclipse. If yous noticed, our maven projection practise non accept whatever such file. To practise both these files, You involve to fix projection folder every bit working directory In ascendence prompt as well as thence run mvn eclipse:eclipse ascendence every bit bellow.
It volition practise .classpath as well as .project files nether projection folder every bit bellow.
Now your projection Is compatible to Import In Eclipse.
Step 2: Open Eclipse as well as Import Project
Steps to Import maven projection In eclipse.
Right click on projection explorer as well as become to Import -> Import. It volition opened upwards Import popup.
Explore General folder as well as choose Existing Project into Workspace from It every bit bellow as well as thence click on Next button.
On side yesteryear side screen, click on Browse button. It volition opened upwards Browse For Folder popup. Select MavenProject project folder from It as well as click on OK button.
It volition fix rootage directory to projection folder path as well as thence projection In grid every bit bellow.
Click on Finish button. It volition Import maven projection In Eclipse. Project construction volition looks similar bellow In eclipse.
Now maven projection Is Imported In eclipse successfully. Developers role master copy folder to write code. We volition role exclusively examination folder to practise our selenium webdriver illustration test. Next postal service volition push clit yous how to practise as well as run selenium examination In maven project.
http://www.software-testing-tutorials-automation.com/