本项目是一个基于Selenium的Web自动测试框架,通过该框架可以简化测试人员的学习难度,只要编写少量的Java代码即可,大多数的工作都是编写页面元素的描述文件以及对应的数据源。以下是本框架的特色:
- 支持多种元素选择策略
- 支持多种数据源
- 支持操作日志生成GIF动态图片
- 自带Windows版本的driver驱动
本项目在码云和Github上都有托管,下面是各自的地址: Github https://github.com/LinuxSuRen/autotest.web.framework 码云 https://git.oschina.net/surenpi/autotest.web.framework
从附件中下载到示例工程后,可以直接运行看到效果。 示例工程的源码如下: https://git.oschina.net/surenpi/autotest.web.framework.demo
环境: JDK1.7,Maven
更多详细内容请访问下面的博客: http://surenpi.com/2016/07/18/autotest_web_framework_base_selenium/
备注: 由于本项目没有提交任何工程、IDE相关的文件(这样,您就可以任选Eclipse、IntelliJ IDEA或者是NetBeans作为您的开发工具了),所以check出来以后还需要一些步骤。 这里给出在Eclipse中使用Maven的教程。
QQ群:52492046