Quality MattersBlog - The art of Software QA and Testing |
|||||||||||||||||||||||||||||||||||||||||||
Installing Maven + Selenium WebDriver I know there are many tutorials on the net about Maven + Selenium installation, but I couldn't find any tutorial that describe the installation procedures step by step from the beginning to the end. So I decide to create one myself:
1.Download & Install JDK from here:
Remember, must be JDK, JRE alone is not enough.
2.Eclipse + m2eclipse plugin
Download the latest version of Eclipse: (Eclipse-Indigo)
m2eclipse is included in the latest version of Eclipse-Indigo already. If you want to update m2eclipse or if you are using a previous version of Eclipse (e.g: Helios) then you have to download/update it via Help>Eclipse Marketplace>download "Maven Integration for Eclipse".
3. Download & Installing Maven:
http://maven.apache.org/download.html (Choose Maven 3.0.4 (Binary zip)
Extract it to C:Program Filesapache-maven-3.0.4
Set Environment Variables : (Right click my computer>Properties>Advanced>Environment Variables)
2nd:
3rd:
Edit "Path " System Variable : (By appending the "%M2%;" the beginning of the string)
Test it!:
Congratulation, Maven has been installed successfully!
4. Run your project in Eclipse.
1st step:
2nd step:
Under
Please refer to the selenium website for the latest version:
Save file
3rd Step:.
Under src/test/java and your package, you can create a new java class file called: "Selenium2Example.java".
Copy paste the code from main selenium tutorial website:
http://seleniumhq.org/docs/03_webdriver.html
Run it (Press the green arrow button) et voila!
{ Last Page } { Page 2 of 6 } { Next Page } |
About MeMy Profile Archives Friends My Photo Album
LinksASTWeekend Testing Software Testing Club SQAForums James Bach's Blog CategoriesSoftware TestingAutomation Recent EntriesMoved...Installing Maven + Selenium WebDriver Sympathetic Testing Differences between Quality Assurance and Quality Control Tips for passing the ISTQB Foundation Level exam - Do's and Don't's Friends |
||||||||||||||||||||||||||||||||||||||||||