selenium webdriver学习(十七)----------把selenium项目同步到本地eclipse
2013-05-30 16:21
363 查看
这里主要是想把selenium的整个项目同步到eclipse的经历分享一下。虽然有时候想想没有必要,因为你下载的包里本身就包含了源代码,但是我就是这样做了。
selenium项目地址: (只读)
方法一、直接使用TortoiseSVN
1、安装TortoiseSVN。下载地址:http://tortoisesvn.net/downloads
2、在eclipse的Workspace目录下直接新建一个文件夹,右击文件夹 -> TortoiseSVN -> Export...
,在打开的弹层"URL of repository:"下面的输入框输入http://selenium.googlecode.com/svn/trunk/,点击OK。
3、把同步下来文件夹做为一个项目导入eclipse。(File>>Import>>General>>Existing Projects into Workspace 然后选择自己的项目)
方法二、使用Subclipse
Subclipse是一个eclipse插件。(包括
Eclipse PDT和
Zend Studio for Eclipse).它能在eclipse里面安装和更新。
subclipse安装步骤(比较懒,直接复制官网的):
Go to Help | Software Updates | Find and Install...
Choose Search new features to install, Next.
Choose New Remote Site, enter name "Subclipse" and URL "http://subclipse.tigris.org/update_1.8.x".
Select the created "Subclipse" site and click Next.
Follow the instructions and restart the workbench.
安装好了之后,重启eclipse,切换eclipse到SVN资源库
在eclipse工具栏,Window | open perspective | Other...
选择 "SVN 资源库研究,OK
在进入"SVN资源库"后,右击—>新建->资源库位置...
在弹出的层中输入http://selenium.googlecode.com/svn/trunk/,Finish.
这样会在左边的面板出现这个添加的库,直接右击->检出为...
在弹出的框中随便输入项目名,Finish。
ok了,得到的项目和上图一样。
PS:有时候导出的项目会有报错,主要是第三方包有更新,看一下Path下的jar文件是不是有missing的情况。
selenium项目地址: (只读)
方法一、直接使用TortoiseSVN
1、安装TortoiseSVN。下载地址:http://tortoisesvn.net/downloads
2、在eclipse的Workspace目录下直接新建一个文件夹,右击文件夹 -> TortoiseSVN -> Export...
,在打开的弹层"URL of repository:"下面的输入框输入http://selenium.googlecode.com/svn/trunk/,点击OK。
3、把同步下来文件夹做为一个项目导入eclipse。(File>>Import>>General>>Existing Projects into Workspace 然后选择自己的项目)
方法二、使用Subclipse
Subclipse是一个eclipse插件。(包括
Eclipse PDT和
Zend Studio for Eclipse).它能在eclipse里面安装和更新。
subclipse安装步骤(比较懒,直接复制官网的):
Go to Help | Software Updates | Find and Install...
Choose Search new features to install, Next.
Choose New Remote Site, enter name "Subclipse" and URL "http://subclipse.tigris.org/update_1.8.x".
Select the created "Subclipse" site and click Next.
Follow the instructions and restart the workbench.
安装好了之后,重启eclipse,切换eclipse到SVN资源库
在eclipse工具栏,Window | open perspective | Other...
选择 "SVN 资源库研究,OK
在进入"SVN资源库"后,右击—>新建->资源库位置...
在弹出的层中输入http://selenium.googlecode.com/svn/trunk/,Finish.
这样会在左边的面板出现这个添加的库,直接右击->检出为...
在弹出的框中随便输入项目名,Finish。
ok了,得到的项目和上图一样。
PS:有时候导出的项目会有报错,主要是第三方包有更新,看一下Path下的jar文件是不是有missing的情况。
相关文章推荐
- selenium学习(1)(WebDriver)与JAVA eclipse平台搭建
- eclipse部署web项目至本地的tomcat但在webapps中找不到
- selenium webdriver 学习总结-数据驱动(六)
- Maven学习总结(七)——eclipse中使用Maven创建Web项目
- 解决web项目无法部署到eclipse配置的本地tomcat
- Selenium+Webdriver学习(三) 执行JS脚本
- 【Selenium学习笔记】webdriver如何定位一组对象
- Selenium WebDriver 同步点
- selenium webdriver学习(5)-iframe的处理
- SoapUI + Selenium Webdriver 自动化测试学习
- eclipse部署web项目至本地的tomcat但在webapps中找不到的解决方案
- selenium webdriver 学习笔记(三)
- selenium webdriver学习(十一)-怎么等待页面元素加载完成
- Selenium Webdriver 学习总结-Selenium Grid & Webdriver(九)
- selenium+webDriver环境搭建和学习基础(java环境)
- selenium学习-WebDriver 与文件系统
- Eclipse Dynamic web项目 user library 不能同步到 lib 目录
- Fixing “selenium.common.exceptions.WebDriverException: Message: ‘Can\’t load the profile.” 分类: 问题总结 python下载 ubuntu python基础学习 2014-01-20 15:28
- ASP.NET MVC WebApi 返回数据类型序列化控制(json,xml) 用javascript在客户端删除某一个cookie键值对 input点击链接另一个页面,各种操作。 C# 往线程里传参数的方法总结 TCP/IP 协议 用C#+Selenium+ChromeDriver 生成我的咕咚跑步路线地图 (转)值得学习百度开源70+项目
- Maven学习总结(二)—— eclipse中使用Maven创建Web项目