selenium操作手册连载一
Selenium_前期知识准备
在开始selenium之前,总得知道selenium是做啥的,环境大致需要些什么软件,如何进行的测试。
关于selenium的相关背景知识,推荐文档:Selenium私房菜(新手入门教程).pdf
下载:http://download.csdn.net/detail/testingba/3811306
XPath教程.pdf 是讲解对象引用的常见方法xpath的,差不多翻翻看得懂就行,反正firefox有插件firebug,可以即时看看对象的xpath。自己编写xpath基本上不会遇到。
下载:http://download.csdn.net/detail/testingba/3811337
Selenium 中文API.doc 这个是参考手册,留在手边用作参考吧,还是中文版的,比较难得。
下载:http://download.csdn.net/detail/testingba/3811354
手把手教你selenium搭建环境软件下载 1. 打开firefox 打开seleniumIDE进行脚本录制和回放,调试的时候可能需要firebug插件查看页面中的对象; 2. 生成junit4的java代码后,导入eclipse的java工程中,启动seleniumRC,然后直接运行回放脚本。 假设读者和我一样是全面空白状态,那就需要下载的文件清单: 1. firefox 2. seleniumIDE 3. firebug 4. SeleniumRC 5. Selenium Client Drivers 6. JDK1.6 7. Eclipse 8. JUNIT4
Selenium相关介质下载:
1. 下载firefox:
http://www.firefox.com.cn/download/
下载得到文件:Firefox-latest.exe
2. 下载seleniumIDE
http://seleniumhq.org/projects/ide/
选择download的TAB页
下载 seleniumIDE1.4.1,下载文件为:selenium-ide-1.4.1.xpi
3. 下载安装firebug
下一篇文章讲解环境的搭建
4. 下载SeleniumRC
http://seleniumhq.org/projects/ide/
选择download的TAB页
下载
blog comments powered by Disqus