selenium-core的运行
上一篇 /
下一篇 2009-12-16 17:25:24
在tomcat上运行selenium-core。
步骤:
1. 下载selenium-core。
2. 安装。假设路径为:D:\selenium\selenium-core-1.0.1
3. 下载tomcat6。
4. 安装
5. 配置:
1).复制Tomcat6.0\webapps\ROOT目录下的WEB-INF文件夹到D:\selenium\selenium-core-1.0.1目录下。
2).打开D:\selenium\selenium-core-1.0.1\WEB-INF目录下的web.xml文件,在</description>之后加入:
<!--JSPC servlet
mappings start -->
<!--JSPC servlet
mappings end -->
3).打开Tomcat6.0\conf\server.xml文件,在<Host>和</Host>之间加入:
<Context path="/sc" docBase="D:\selenium\selenium-core-1.0.1"
debug="0" privileged="true">
</Context>
4).打开Tomcat6.0\conf\web.xml文件,找到:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
把false设成true保存,重启Tomcat,在IE上打开http://localhost:8080/sc。
相关阅读:
- [转载]认识Selenium---简单介绍 (alitester, 2009-7-12)
- Selenium使用介绍 (fishy, 2009-7-14)
- Selenium学习报告 (暗冷夜空的风, 2009-9-03)
- Selenium UI Element学习笔记(一) (暗冷夜空的风, 2009-9-18)
- Selenium UI Element学习笔记(二) (暗冷夜空的风, 2009-9-18)
- Selenium UI Element学习笔记(三) (暗冷夜空的风, 2009-9-18)
- Selenium UI Element学习笔记(四) (暗冷夜空的风, 2009-9-18)
- selenium 运行报错-存储空间不足,无法完成此操作 (dongfangronger, 2009-10-15)
- 使用Selenium进行Web测试项目框架 (fishy, 2009-11-27)
- WEB UI自动化之旅(一) (wuyingminhui, 2009-12-14)
收藏
举报
TAG:
Selenium
selenium