预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共21页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

Selenium环境配置指南 版本/状态作者参与者日期备注**************** 目录 TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc327534413"概述 PAGEREF_Toc327534413\h3 HYPERLINK\l"_Toc327534414"1软件包准备 PAGEREF_Toc327534414\h3 HYPERLINK\l"_Toc327534415"2seleniumIDE PAGEREF_Toc327534415\h4 HYPERLINK\l"_Toc327534416"2.1安装 PAGEREF_Toc327534416\h4 HYPERLINK\l"_Toc327534417"2.2使用说明 PAGEREF_Toc327534417\h4 HYPERLINK\l"_Toc327534418"3Firebugs PAGEREF_Toc327534418\h6 HYPERLINK\l"_Toc327534419"4seleniumRC PAGEREF_Toc327534419\h6 HYPERLINK\l"_Toc327534420"4.1安装JDK PAGEREF_Toc327534420\h6 HYPERLINK\l"_Toc327534421"4.2启动eclipse,创建一个project PAGEREF_Toc327534421\h7 HYPERLINK\l"_Toc327534422"4.3导入我们需要的包 PAGEREF_Toc327534422\h8 HYPERLINK\l"_Toc327534423"4.4录制的脚本转换成junit4,拷贝到eclipse中 PAGEREF_Toc327534423\h9 HYPERLINK\l"_Toc327534424"4.5启动RCserver服务 PAGEREF_Toc327534424\h10 HYPERLINK\l"_Toc327534425"5使用ant运行并生成Junit测试报告 PAGEREF_Toc327534425\h11 HYPERLINK\l"_Toc327534426"5.1生成antfile:build.xml PAGEREF_Toc327534426\h11 HYPERLINK\l"_Toc327534427"5.2配置build.xml PAGEREF_Toc327534427\h15 HYPERLINK\l"_Toc327534428"5.3junit文件夹 PAGEREF_Toc327534428\h16 HYPERLINK\l"_Toc327534429"6选择浏览器版本 PAGEREF_Toc327534429\h16 HYPERLINK\l"_Toc327534430"6.1seleniumIDE上设置 PAGEREF_Toc327534430\h17 HYPERLINK\l"_Toc327534431"6.2在java脚本中设置 PAGEREF_Toc327534431\h17 HYPERLINK\l"_Toc327534432"6.3选择浏览器注意事项 PAGEREF_Toc327534432\h18 HYPERLINK\l"_Toc327534433"7在命令行直接运行测试用例 PAGEREF_Toc327534433\h18 HYPERLINK\l"_Toc327534434"7.1配置ANT_HOME PAGEREF_Toc327534434\h18 HYPERLINK\l"_Toc327534435"7.2在cmd中运行测试用例并生成测试报告 PAGEREF_Toc327534435\h19 HYPERLINK\l"_Toc327534436"8Example PAGEREF_Toc327534436\h19 HYPERLINK\l"_Toc327534437"8.1java代码 PAGEREF_Toc327534437\h19 HYPERLINK\l"_Toc327534438"8.2运行后的测试报告样式 PAGEREF_Toc327534438\h21 HYPERLINK\l"_Toc327534439"8.3待解决的问题 PAGEREF_Toc327534439\h21 HYPERLINK\l"_Toc327534440"FAQ: P