- 博客(115)
- 资源 (40)
- 收藏
- 关注
原创 rm: cannot remove Read-only file system
转自http://blog.youkuaiyun.com/kq1983/article/details/44671961fsck -y / #执行修复文件系统shutdown -r now #修复完成后重启系统
2017-03-22 09:31:02
3217
原创 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
652
原创 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
347
原创 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
958
原创 搭建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
163
原创 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
192
原创 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
143
原创 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
194
原创 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
106
原创 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
147
原创 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
111
原创 android uiautomator学习(一)创建工程
转自 http://blog.youkuaiyun.com/robinzhou/article/details/8447058 要写UIAutomator的testcase,首先要用Eclipse创建一个Java Project需要将Junit 的lib加入到工程里还要添加android.jar和uiautomator.jar,这两个文件在android sdk中,没有升级...
2015-07-14 11:11:04
111
原创 MonkeyRunner在Windows下的Eclipse开发环境搭建步骤(兼解决网上Jython配置出错的问题)...
转自http://blog.youkuaiyun.com/zhubaitian/article/details/39803205网上有一篇shangdong_chu网友写的文章介绍如何在Eclipse上配置MonkeyRunner,做了挺好的一个描述,但经过我的试验在我的环境上碰到了Jython解析器出错的问题,且该文章缺少Pydev安装的步骤,所以这里按照本人的情况从新撰文描述如何在Eclipse...
2015-07-08 21:57:13
101
原创 Jython学习笔记(一) Eclipse开发环境搭建
转自http://blog.youkuaiyun.com/yibing548/article/details/42079463 1 Eclipse开发环境搭建1.1为什么搭建Eclipse开发环境Eclipse是著名的跨平台开源集成开发环境(IDE)。Eclipse的本身只是一个框架平台,但是众多插件的支持,使得Eclipse拥有较佳的灵活性。最初主要用来Java语言开发,目前亦有...
2015-07-08 20:58:06
152
原创 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
128
原创 AndroidStudio单元测试——instrumentation
转自 http://blog.youkuaiyun.com/harvic880925/article/details/38060361亲测成功 AndroidStudio单元测试——instrumentation分类: 5、andriod开发2014-07-23 10:59 7739人阅读 评论(11) 收藏 举报 目录(?)[+] 前言:这几天...
2015-07-08 11:32:15
134
原创 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
283
原创 开启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
196
原创 Android界面基本属性
http://www.cnblogs.com/awenhome/archive/2011/12/29/2305813.html 布局: 在 android 中我们常用的布局方式有这么几种:1.LinearLayout ( 线性布局 ) :(里面只可以有一个控件,并且不能设计这个控件的位置,控件会放到左上角) ...
2014-11-20 21:31:40
112
原创 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
338
原创 jacob的使用方法总结
http://blog.youkuaiyun.com/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
2045
原创 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
144
原创 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
119
原创 <BEA-290074> <Deployment service servlet received file download request for file
版本:12.1.3在搭建cluster 过程中出现这个错误,启动Node机器节点的时候,Manager 机器console 抛出:<Sep 12, 2014 11:00:13 AM CST> <Warning> <DeploymentService> <BEA-290074> <Deployment service servlet r...
2014-09-12 13:13:48
560
原创 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
1449
原创 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
115
原创 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
169
原创 Ruby Watir自动化环境搭建
转自 http://blog.youkuaiyun.com/yuxinlong2006/article/details/7522570一、Ruby安装 1、下载最新版的Ruby安装程序:rubyinstaller-1.9.3-p194.exe 下载地址:http://rubyforge.org/frs/?group_id=167&release_id=46722 2、安装Ruby,安装完成后,位...
2013-04-03 13:38:44
122
原创 解决 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
149
原创 java 代码规范检查之PMD
PMD的规则设置是 这个文件 <ruleset>rulesets/favorites.xml</ruleset> 根据公司的实际情况 结合官方文档实施配置 结合ant 做个演示 <?xml version="1.0" encoding="GBK"?><project name="Depoly" default=&q
2012-11-23 10:43:46
259
原创 java 代码规范检查之check-style
这是目前公司java 代码规范所涉及到的几部分 ,结合ant做个演示一.配置checkstlye<?xml version="1.0" encoding="GBK"?><project name="Depoly" default="checkstyle" basedir="."> <property file
2012-11-23 10:40:30
452
原创 ant 删除注释和空行
<replaceregexp file="${basedir}/oa.ear/oaweb.war/WEB-INF/weblogic.xml" match="&lt;!--" replace="" flags="g" byline="true" encoding="utf-8"/><!--删除注释 -->
2012-10-16 15:41:05
307
weblogic 集群环境下更新war
<?xml version="1.0" encoding="GBK"?><project name="Depoly" default="build-all" basedir="E:/deploy"> <property file="./Deploy/eCooeFlowWeb.properties" /&am
2012-10-16 15:31:05
1023
原创 如何关闭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
714
原创 让Solaris使用bash
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://juven.blog.51cto.com/749867/152314 用习惯了RedHat,现在开始接触Solaris,感觉它的shell很别扭. 没了TAB键的补全让我在Solaris下操作寸步难行... 通过修改/etc/passwd下root用户...
2012-08-15 11:08:08
236
原创 HTTP 状态代码及其定义。
所有 HTTP 状态代码及其定义。 代码 指示 2xx 成功 200 正常;请求已完成。 201 正常;紧接 POST 命令。 202 正常;已接受用于处理,但处理尚未完成。 203 正常;部分信息 — 返回的信息只是一部分。 204 正常;无响应 — 已接收请求,但不存在要回送的信息。 3xx 重定向 301 已移动 — 请...
2012-08-13 17:03:27
86
原创 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
1018
原创 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 <?xml version='1.0' encoding='utf-8'?>...
2012-08-07 11:28:47
96
原创 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
188
Linux基础教程Linux基础教程
2011-02-27
WebSphere Application Server V6
2010-12-14
Scripts for WebSphere Application Server automated deployment
2010-12-14
websphere 7 windows 安装
2010-12-11
Python高级编程Python高级编程
2011-03-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人