_ Prerequisite
(Option)
_ Install&Setup
- Step.1
- (We use maven)
_ HowToUse
_ Prepare Project
- Step.1
- Launch Cygwin.
- Step.2
- Create the most simple maven project.
$ mvn archetype:create \
-DgroupId=org.test \
-DartifactId=selenium_webdriver
- Step.3
- Luanch Eclipse and import Maven project.
- Step.4
- Open POM.xml and append the following description.
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.44.0</version>
</dependency>
_ Create Test Code
- Step.1
- Create new test class, "WikiTest".
- Step.2
- In the Selenium IDE window, select "Option"->"Setting" and check "Enable experimental features".
- Step.3
- Select "Option"->"Format" and choose "Java / JUnit 4 / WebDriver.
- Step.4
- Copy and paste Java code to new test class "WikiTest".
- Step.5
- Execute maven test.
$ mvn test.
_ Author
S.Yatsuzuka