codecamp

示例Demo获取过程

本项目在码云和Github上都有托管,下面是各自的地址:

Githubhttps://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/autotestwebframeworkbaseselenium/

和本项目配套的Maven骨架工程源码位置如下:

Github https://github.com/LinuxSuRen/autotest.web.framework.archetype

码云http://git.oschina.net/surenpi/autotest.web.framework.archetype

和本项目配套的Eclipse插件工程源码位置如下:

Github https://github.com/LinuxSuRen/autotest.web.framework.plugin

码云 http://git.oschina.net/surenpi/autotest.web.framework.plugin

备注:

由于本项目没有提交任何工程、IDE相关的文件(这样,您就可以任选Eclipse、IntelliJ IDEA或者是NetBeans作为您的开发工具了),所以check出来以后还需要一些步骤。

这里给出在Eclipse中使用Maven的教程。

在线团队协作https://team.oschina.net/surenpi

QQ群:52492046




元素定位8大方式
特性
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

准备

XML

HTML

CSS

JavaScript

Java

扩展

API

持续集成

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }