当前位置: 代码迷 >> Eclipse >> 在Eclipse中配备Selenium的开发环境
  详细解决方案

在Eclipse中配备Selenium的开发环境

热度:33   发布时间:2016-04-23 02:06:54.0
在Eclipse中配置Selenium的开发环境

?1. Download the latest version of selenium from http://seleniumhq.org/download/?(This time, I downloaded version?2.25.0)
???? You need download
???? *Selenium Server (formerly the Selenium RC Server) -> selenium-server-standalone-2.25.0.jar
???? *The Internet Explorer Driver Server -> IEDriverServer_Win32_2.25.2.zip
???? *Selenium Client Drivers -> selenium-java-2.25.0.zip? #Unzip selenium-java-2.25.0.zip, you will get selenium-java-2.25.0.jar
???? There are three?packages totally.

??? Download the latest version of Junit.

???? * junit-4.10.jar

?????

2. Open Eclipse.

??? [File]->[New]->[Java Project]

??? After creating project, you need add a library as below picture.

?

3. Start selenium service locally

?? Dos command -> java -jar selenium-server.jar

4. Then you can develop selenium program in this project with java language
?
?

  相关解决方案