自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(115)
  • 资源 (40)
  • 收藏
  • 关注

原创 rm: cannot remove Read-only file system

 转自http://blog.csdn.net/kq1983/article/details/44671961fsck -y /   #执行修复文件系统shutdown -r now   #修复完成后重启系统

2017-03-22 09:31:02 3139

原创 Jetty Logging Configuration Example

In this example, we will discuss logging capabilities of Jetty. We will first enable the logging module in Jetty and configure it afterwards. As in the previous Jetty examples, we will start with sta...

2016-02-23 13:36:47 557

原创 NTPD Time Service

已在qaa03上成功搭建NTPD服务。该服务已设置为开机启动服务,如遇到问题,请在root用户下,用命令#service ntpd ****进行相关操作。 客户机校准时间: Linux: /usr/sbin/ntpdate ntpdate qaa03.jinfonet.com.cn /sbin/hwclock -w; //把系统时间写入硬件时间 OR 在root用户下 ntpdate nt...

2016-02-19 11:04:33 294

原创 Internet Explorer Driver

https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Internet_Explorer_Driver  InternetExplorerDriver  Everything you wanted to know about the Internet Explorer driver WebDriver...

2015-10-29 08:35:48 902

原创 搭建Selenium Grid的调试环境

http://shijunjuan.iteye.com/blog/1997764 Download and install IDE, such as Eclipsecreate folder c:\source, clone selenium repository: git clone https://code.google.com/p/selenium/Open IDE, ...

2015-10-26 14:03:44 129

原创 Retry executing only Failed Tests using TestNG

转自http://www.cnblogs.com/alterhu/p/3191701.html 问题情况                                                 先说下问题情况,最近在做testNG与selenium集成做自动化测试的问题。因为如果将testNG做UI 测试的话,很多情况下可能测试是失败的,但是这些失败可能是一些其他的问题导...

2015-08-13 14:50:00 137

原创 How to run single selenium test case in two different nodes

转自http://stackoverflow.com/questions/31023861/how-to-run-single-selenium-test-case-in-two-different-nodes实测通过前提准备:1.请参考 selenium + testng + grid 例子 + Jenkins 集成selenium grid (Jenkins 配置 网上 一大...

2015-08-06 16:07:59 92

原创 selenium + testng + grid 例子

环境准备TestNG + Grid + Webdriver1.启动Grid hub + node  hub端:java -jar selenium-server-standalone-2.4x0.jar -role node -hub Node 端java -jar selenium-server-standalone-2.4x0.jar -role w...

2015-07-30 15:05:00 164

原创 robotium学习二_web元素操作

 Web 元素操作小例子     

2015-07-17 16:46:23 95

原创 robotium 学习一_计算机例子测试

1.首先开发一个计算机的小程序 效果图如下 2.代码如附件 3.创建一个Android test project4.代码如下 5.最后 Run as Android junit test 6.碰到的问题run as 的时候 抛一下错误 解决方法->build path 删掉里面的Android Dependencies和robotium-solo-xx.jar...

2015-07-15 14:20:56 86

原创 UIAutomator的API 学习小例子

在模拟器上玩的1.代码 import com.android.uiautomator.core.UiDevice;import com.android.uiautomator.core.UiObject;import com.android.uiautomator.core.UiObjectNotFoundException;import com.android.uiauto...

2015-07-14 14:08:51 103

原创 UIAutomator的API:

11.UiDeviceaccess and perform operations on the device on which the target app is running. You can call its methods to access device properties such as current orientation or display size. The UiD...

2015-07-14 11:21:11 87

原创 android uiautomator学习(一)创建工程

转自 http://blog.csdn.net/robinzhou/article/details/8447058 要写UIAutomator的testcase,首先要用Eclipse创建一个Java Project需要将Junit 的lib加入到工程里还要添加android.jar和uiautomator.jar,这两个文件在android sdk中,没有升级...

2015-07-14 11:11:04 85

原创 MonkeyRunner在Windows下的Eclipse开发环境搭建步骤(兼解决网上Jython配置出错的问题)...

转自http://blog.csdn.net/zhubaitian/article/details/39803205网上有一篇shangdong_chu网友写的文章介绍如何在Eclipse上配置MonkeyRunner,做了挺好的一个描述,但经过我的试验在我的环境上碰到了Jython解析器出错的问题,且该文章缺少Pydev安装的步骤,所以这里按照本人的情况从新撰文描述如何在Eclipse...

2015-07-08 21:57:13 70

原创 Jython学习笔记(一) Eclipse开发环境搭建

转自http://blog.csdn.net/yibing548/article/details/42079463 1 Eclipse开发环境搭建1.1为什么搭建Eclipse开发环境Eclipse是著名的跨平台开源集成开发环境(IDE)。Eclipse的本身只是一个框架平台,但是众多插件的支持,使得Eclipse拥有较佳的灵活性。最初主要用来Java语言开发,目前亦有...

2015-07-08 20:58:06 128

原创 android 自动化压力测试-monkey 3 命令参数

转自http://www.cnblogs.com/nzyjlr/p/4269345.html  使用monkey help 命令查看命令参数,如下:C:\Users\chenfenping>adb shell monkey -helpusage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...][-c MA...

2015-07-08 14:41:32 102

原创 AndroidStudio单元测试——instrumentation

转自 http://blog.csdn.net/harvic880925/article/details/38060361亲测成功  AndroidStudio单元测试——instrumentation分类: 5、andriod开发2014-07-23 10:59 7739人阅读 评论(11) 收藏 举报 目录(?)[+] 前言:这几天...

2015-07-08 11:32:15 105

原创 GlassFish4.0默认JSP编译版本问题

http://icemeng.iteye.com/blog/2068487   今天晚上在JSP中写了一句JDK1.7才支持的<>(diamond)代码,Deploy的时候居然出错了。看了一下Log文件。Log代码  org.apache.jasper.JasperException: PWC6033: Error in Javac compi...

2015-06-09 14:45:01 223

原创 开启JBoss7/WildFly的access_log功能

转自:http://www.2cto.com/os/201404/290138.html  前言对于一个网站来说,访问日志,即access_log,对网站来说是一项很重要的功能。利用它,我们可以统计出很多有用的信息,从而给网站的运维带来方便,所以基本上每个网站都会开启这件功能。JBoss As 7配置在默认的情况下,JBoss7.1是没有开启access_log的,如果要...

2014-12-02 09:42:12 144

原创 Android界面基本属性

http://www.cnblogs.com/awenhome/archive/2011/12/29/2305813.html  布局:    在 android 中我们常用的布局方式有这么几种:1.LinearLayout ( 线性布局 ) :(里面只可以有一个控件,并且不能设计这个控件的位置,控件会放到左上角)                         ...

2014-11-20 21:31:40 87

原创 Portlet deployment fails with 'A composition unit with name already exists'

http://www-01.ibm.com/support/docview.wss?uid=swg21590141  ProblemDeploying a portlet war either using the Portal Manage Web Modules portlet or xmlaccess fails with a message 'A composition...

2014-11-13 08:45:19 302

原创 jacob的使用方法总结

http://blog.csdn.net/yangyinbo/article/details/3373576用jacob做了一个东西,就是对word进行操作,开始时费了好大劲,后来总算是有点思路。现将已试验过的方法总结如下。还有一点就是所用的JAR文件和DLL文件好像比较特殊,JDK换来换去就用了JDK1.6,jacob.jar为1.9的,dll为2005年2月26日的。有什么...

2014-10-20 16:38:54 1967

原创 Jetty – Stop a Jetty Server by Command

Jetty – Stop a Jetty Server by CommandJuly 26, 2010 Ying Kit Yuen 13 CommentsTo start a Jetty Server, you can type the following command.java -jar start.jar The only way to stop the Jet...

2014-10-09 13:31:53 114

原创 CentOS6.2调整home分区大小

CentOS6.2调整home分区大小http://www.2cto.com/os/201211/171591.html1.首先查看磁盘使用情况df -h  www.2cto.com   Filesystem             Size  Used Avail Use% Mounted on  /dev/mapper/vg-lv_root 50G  8.9G  37...

2014-09-29 13:18:05 92

原创 <BEA-290074> <Deployment service servlet received file download request for file

版本:12.1.3在搭建cluster 过程中出现这个错误,启动Node机器节点的时候,Manager 机器console 抛出:&lt;Sep 12, 2014 11:00:13 AM CST&gt; &lt;Warning&gt; &lt;DeploymentService&gt; &lt;BEA-290074&gt; &lt;Deployment service servlet r...

2014-09-12 13:13:48 462

原创 selenium-webdriver: element is not attached to the page问题解决

现象: 今天在遍历选择select option 时出现:element is not attached to the page document原因:The reason was because javascript loaded the element one more time after i have referred so my date reference pointed to ...

2014-07-17 14:03:56 1394

原创 Linux 下 实现GlassfishV3 自动部署

Deploy.sh 代码#. `dirname "$0"`/setenv_1.shCheckProcess()  {    if [ "$1" = "" ];    then      return 1    fi    PROCESS_NUM='ps -ef |  grep "$1" | grep -v "grep" | wc -l'    if [ $PROCESS_NUM -eq 1...

2014-04-26 09:28:31 88

原创 Ruby Watir自动化环境搭建 错误解决办法

在搭建ruby 和 watir 环境可是费了一番功夫 ,现在将遇到的错误总结了下1.While executing gem ... (NoMethodError)     undefined method `size' for nil:NilClas这个问题的原因是gem中的缓存文件造成的   命令 gem env    可以查看到gem的path路径   我得到的路径是:GEM P...

2013-04-03 16:45:18 118

原创 Ruby Watir自动化环境搭建

转自 http://blog.csdn.net/yuxinlong2006/article/details/7522570一、Ruby安装 1、下载最新版的Ruby安装程序:rubyinstaller-1.9.3-p194.exe 下载地址:http://rubyforge.org/frs/?group_id=167&amp;release_id=46722 2、安装Ruby,安装完成后,位...

2013-04-03 13:38:44 85

原创 解决 QTP General Run Error for webElement GetROProperty

现象:QTP 中 遍历对象为 welement对象是 会出现 General Run error原因:WebElement catches all sorts of things and some may cause the General run error (still a bug with the tool). 解决方案:Set wElement=Description.Cr...

2012-12-25 10:34:01 111

原创 java 代码规范检查之PMD

PMD的规则设置是 这个文件   &lt;ruleset&gt;rulesets/favorites.xml&lt;/ruleset&gt;  根据公司的实际情况 结合官方文档实施配置  结合ant 做个演示 &lt;?xml version="1.0"  encoding="GBK"?&gt;&lt;project name="Depoly" default=&q

2012-11-23 10:43:46 223

原创 java 代码规范检查之check-style

这是目前公司java 代码规范所涉及到的几部分 ,结合ant做个演示一.配置checkstlye&lt;?xml version="1.0"  encoding="GBK"?&gt;&lt;project name="Depoly" default="checkstyle" basedir="."&gt;    &lt;property file

2012-11-23 10:40:30 399

原创 ant 删除注释和空行

&lt;replaceregexp file="${basedir}/oa.ear/oaweb.war/WEB-INF/weblogic.xml" match="&amp;lt;!--" replace="" flags="g" byline="true" encoding="utf-8"/&gt;&lt;!--删除注释 --&gt;   

2012-10-16 15:41:05 263

weblogic 集群环境下更新war

&lt;?xml version="1.0" encoding="GBK"?&gt;&lt;project name="Depoly" default="build-all" basedir="E:/deploy"&gt; &lt;property file="./Deploy/eCooeFlowWeb.properties" /&am

2012-10-16 15:31:05 964

原创 如何关闭solaris 10防火墙

http://space.itpub.net/25196159/viewspace-704086 # svcs -a |grep network |egrep "pfil|ipf"enable        4:36:25 svc:/network/pfil:default online         23:41:33 svc:/network/ipfilter:defaul...

2012-08-15 13:52:19 641

原创 让Solaris使用bash

原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://juven.blog.51cto.com/749867/152314 用习惯了RedHat,现在开始接触Solaris,感觉它的shell很别扭.    没了TAB键的补全让我在Solaris下操作寸步难行... 通过修改/etc/passwd下root用户...

2012-08-15 11:08:08 201

原创 HTTP 状态代码及其定义。

所有 HTTP 状态代码及其定义。  代码  指示  2xx  成功  200  正常;请求已完成。  201  正常;紧接 POST 命令。  202  正常;已接受用于处理,但处理尚未完成。  203  正常;部分信息 — 返回的信息只是一部分。  204  正常;无响应 — 已接收请求,但不存在要回送的信息。  3xx  重定向  301  已移动 — 请...

2012-08-13 17:03:27 49

原创 FS常见错误

http://www.centos.bz/2012/03/nfs-common-errors/错误一:Cannot register service: RPCservice nfs restartShutting down NFS mountd: [ OK ]Shutting down NFS daemon: [ OK ]Shutting down NFS quotas: [ ...

2012-08-09 16:18:13 936

原创 Tomcat 7 ant自动部署

xml 写法和tomcat 6 一样只是tomcat 7 有些地方和tomcat 不一样具体如下1.copy %tomcathome%\bin\tomcat-juli.jar to %tomcathome%2.Configuation tomcat-user.xml as below &lt;?xml version='1.0' encoding='utf-8'?&gt;...

2012-08-07 11:28:47 69

原创 Linux目录详解(RHEL5.4)

http://bbs.linuxtone.org/thread-7177-1-1.html  Linux目录详解(RHEL5.4)linux有四种基本文件系统类型:--普通文件:如文本文件、c语言源代码、shell脚本等,可以用cat、less、more、vi等来察看内容,用mv来改名;--目录文件:包括文件名、子目录名及其指针,可以用ls列出目录文件;--链接文件:是指向一索引节...

2012-07-21 22:50:51 148

JSP数据库编程指南

JSP数据库编程指南JSP数据库编程指南JSP数据库编程指南JSP数据库编程指南

2011-03-16

Linux基础教程Linux基础教程

Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程Linux基础教程

2011-02-27

ssh学习笔记

ssh学习笔记

2011-02-23

XMLEditPro

XMLEditPro

2011-02-14

weblogic技术文档

weblogic技术文档 weblogic技术文档 weblogic技术文档

2011-01-28

SOAP、CORBA及DCOM的分析与比较

SOAP、CORBA及DCOM的分析与比较SOAP、CORBA及DCOM的分析与比较

2011-01-24

Websphere6.1集群安装和配置最终

Websphere6.1集群安装和配置最终;Websphere6.1集群安装和配置最终

2010-12-17

WebSphere Application Server V6

WebSphere Application Server V6WebSphere Application Server V6

2010-12-14

Scripts for WebSphere Application Server automated deployment

Scripts for WebSphere Application Server automated deploymentScripts for WebSphere Application Server automated deployment

2010-12-14

websphere 7 windows 安装

websphere 7 windows 安装 websphere 7 windows 安装 websphere 7 windows 安装 websphere 7 windows 安装

2010-12-11

websphere 7 红皮书

websphere 7 红皮书websphere 7 红皮书websphere 7 红皮书

2010-12-11

java 线程java 线程

java 线程java 线程java 线程java 线程java 线程java 线程java 线程java 线程java 线程

2010-11-23

深入掌握J2EE编程技术4.pdf

j2ee 相关知识;深入掌握J2EE编程技术4.pdf

2010-11-16

java rmi技术

java rmi技术详细介绍,有兴趣的看下

2010-11-16

Http Protocol

The book of Http 1.1 Protocol describe

2010-11-10

srping中文reference

中文版的 是spring reference, 英语不好兄弟么就凑合看

2009-09-25

MySQL中文参考手册

MySQL中文参考手册,费了俺好大的劲才找到 现在共享给各位兄弟

2009-09-25

javaee5api

本人收藏的 javaee5api,绝对的货真价实

2009-09-08

进销存管理系统详解(附代码)

进销存管理系统详解(附代码),是一本很好的参考文档 用swing实现

2009-03-25

tomcat 详细配置

详细介绍tomcat的配置,对于大多数初学者来说,难得的参考资料

2008-11-05

Android-Multithreaded-Programming-1

Android-Multithreaded-Programming-1

2015-08-01

Android-Networking-2

Android-Networking-2 part2

2015-08-01

Android-Networking-1

Android-Networking-1 part 1

2015-08-01

Android-Rotations

Android-Rotations document

2015-08-01

Android-Localization

Android-Localization

2015-08-01

Android-Intents-3

Android-Intents-3 part

2015-08-01

Android-Intents-2.

Android-Intents-2 part 2

2015-08-01

Android-Intents-1

Android-Intents part 1

2015-08-01

Android-Coding-Style

Android-Coding-Style

2015-08-01

Android-Layouts

Android-Layouts part

2015-08-01

Android-Widgets-Spinners

Android-Widgets-Spinners

2015-08-01

Android-Widgets-Buttons

Android-Widgets-Buttons.

2015-08-01

Android-Widget-Event-Handling

Android-Widget-Event-Handling.

2015-08-01

Android-Programming-Basics

Android-Programming-Basics

2015-08-01

Android-Getting-Started

Android-Getting-Started

2015-08-01

WAS7_Linux群集安装记录

WAS7_Linux群集安装记录WAS7_Linux群集安装记录WAS7_Linux群集安装记录WAS7_Linux群集安装记录

2011-08-18

深入python3深入python3深入python3

深入python3深入python3深入python3深入python3深入python3深入python3

2011-03-25

Python高级编程Python高级编程

Python高级编程Python高级编程Python高级编程Python高级编程Python高级编程Python高级编程Python高级编程Python高级编程

2011-03-25

glassfish JNDI 配置

glassfish JNDI 配置glassfish JNDI 配置glassfish JNDI 配置glassfish JNDI 配置

2011-03-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除