JAVA 설치 : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Eclipse 설치 : http://www.eclipse.org/downloads/download.php?file=/oomph/epp/mars/R1a/eclipse-inst-win64.exe
Maven 다운로드 : http://maven.apache.org/download.cgi?Preferred=http%3A%2F%2Fapache.mirror.cdnetworks.com%2F#
Create a Project on Eclipse
File > New > Others > Maven > Maven Project
Check "create a simple project(skip archetype selection)" on New Maven Project
Input Group Id & Artifact Id on New Maven Project
add a project node on pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
project name > src/test/java > New > Class > input Name > Finish
Input a test code
package seleniumcookbook.example.test; |
Runs As > Maven test
Trouble Shooting
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
Windows -> Preferences -> Java -> Installed JREs -> jdk JRE 경로가 JAVA 디렉토리에 있는 것이 아닌 JAVA 밑에 JDK 안에 있는 것으로 선택하면 된다. |
'QA > Test Automation' 카테고리의 다른 글
PyWinAuto For UI Automation (0) | 2016.02.17 |
---|---|
AutoIT For UI Automation (0) | 2016.02.17 |
Sikuli For UI Automation (0) | 2016.02.17 |
UFT(Unified Functional Testing) Mobile (0) | 2016.02.03 |
Sikuli For UI Automation (0) | 2014.11.27 |
댓글