http://delphi.about.com/cs/adptips2004/a/bltip0504_4.htmWhen using ShellExecute (as explained in the above article) to open a web site or a htm file w...
软件开发的两种架构:c/s和b/s * C/S client/server 客户端/服务器 例子:QQ 快播 暴风影音... * 优点:交互性非常好,服务器压力小。 * 缺点:客户端软件,下载客户端软件。 * B/S Browser/server 浏览器/服务器 例子:...
分类:
编程语言 时间:
2014-10-25 22:49:17
阅读次数:
335
在Firefox中关闭缓存看看这里在地址栏输入:about:config然后在过滤器中输入:browser.cache.disk.enable解释:When a page is loaded, it can be cached so it doesn’t need to be downloaded ...
分类:
其他好文 时间:
2014-10-23 11:59:14
阅读次数:
131
The situations where this ServerVariable works include the following methods of a browser loading a URL:clicking on a straight HTML link;submitting a....
分类:
Web程序 时间:
2014-10-21 08:53:48
阅读次数:
160
主要需求
1、 支持browser & nodejs
因为javascript既可以在浏览器环境运行,也可以在nodejs环境运行,因此需要能够统计两种环境下单元测试的覆盖率情况。
2、 透明、无缝
用户写单元测试用例的时候,不需要为了支持覆盖率统计多写代码,之前写的用例无需修改就可以直接统计覆盖率情况。
原理
javascript覆盖率的相关文章比较少,下面的...
分类:
编程语言 时间:
2014-10-17 16:59:58
阅读次数:
192
//通过window对象获取子iframevar _frame = window.frames[1] ; //获取第二个iframe(根据name获取使用window.frames['xxx'])if( $.browser.msie ){ //ie_frame = window.document.f...
分类:
编程语言 时间:
2014-10-17 15:07:08
阅读次数:
135
struts2被很多新手诟病的一个地方在于“配置过于复杂”,相信不少初学者因为这个直接改投Spring-MVC了。convention-plugin、config-browser-plugin这二个插件的出现,很大程度改善了这个囧境。简言之:convention-plugin采用"约定大于配置”的思...
分类:
其他好文 时间:
2014-10-17 15:05:38
阅读次数:
126
目前还未解决,先记录一下。Text Edit*** Settings ***Library Selenium2Librarybaidu_xpath open browser http://10.11.20.117:9500/poc/ ie sleep 3 maximize browser windo...
分类:
其他好文 时间:
2014-10-16 13:02:42
阅读次数:
934
varclient=function(){
//renderingengines
varengine={
ie:0,
gecko:0,
webkit:0,
khtml:0,
opera:0,
//completeversion
ver:null
};
//browsers
varbrowser={
//browsers
ie:0,
firefox:0,
safari:0,
konq:0,
opera:0,
chrome:0,
//specificversion
ver:null
};
//platform..
分类:
其他好文 时间:
2014-10-14 04:46:08
阅读次数:
175