`
jerome_wang
  • 浏览: 148563 次
  • 性别: Icon_minigender_1
  • 来自: 云南
社区版块
存档分类
最新评论
文章列表
转自 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 MAIN_CATEGORY [-c MAIN_CATEGORY] ...][--ignore-crashes] [--ignore-timeouts][--ignore-security-exception ...
转自  http://blog.csdn.net/harvic880925/article/details/38060361 亲测成功    AndroidStudio单元测试——instrumentation 分类: 5、andriod开发2014-07-23 10:59 7739人阅读 评论(11) 
http://icemeng.iteye.com/blog/2068487       今天晚上在JSP中写了一句JDK1.7才支持的<>(diamond)代码,Deploy的时候居然出错了。看了一下Log文件。 Log代码   org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP      PWC6199: Gen
转自:http://www.2cto.com/os/201404/290138.html     前言 对于一个网站来说,访问日志,即access_log,对网站来说是一项很重要的功能。利用它,我们可以统计出很多有用的信息,从而给网站的运维带来方便,所以基本上每个网站都会开启这件功能。 JBoss As 7配置 在默认的情况下,JBoss7.1是没有开启access_log的,如果要开启这项功能,就需要修改$JBOSS_HOME\standalone\configuration\standalone.xml(domain.xml)这个文件,相关的修改内容如下所示: <s ...
http://www.cnblogs.com/awenhome/archive/2011/12/29/2305813.html     布局:    在 android 中我们常用的布局方式有这么几种: 1.LinearLayout ( 线性布局 ) :(里面只可以有一个控件,并且不能设计这个控件的位置,控件会放到左上角)                                            线性布局分为水平线性和垂直线性二者的属性分别为: android:orientation= " horizontal "   android ...
http://www-01.ibm.com/support/docview.wss?uid=swg21590141     Problem Deploying a portlet war either using the Portal Manage Web Modules portlet or xmlaccess fails with a message 'A composition unit with name <appname> already exists' Symptom In the SystemOut.log, the following exc ...
http://blog.csdn.net/yangyinbo/article/details/3373576 用jacob做了一个东西,就是对word进行操作,开始时费了好大劲,后来总算是有点思路。现将已试验过的方法总结如下。 还有一点就是所用的JAR文件和DLL文件好像比较特殊,JDK换来换去就用了JDK1.6,jacob.jar为1.9的,dll为2005年2月26日的。 有什么问题可以在此留言,大家一起交流。   import  com.jacob.activeX.ActiveXComponent; import  com.jacob.com.Dispatch; ...
Jetty – Stop a Jetty Server by Command July 26, 2010 Ying Kit Yuen 13 Comments To start a Jetty Server, you can type the following command. java -jar start.jar   The only way to stop the Jetty Server is by pressing Ctrl + C in the shell prompt. Actually, there is a way to issue a stop comm ...
CentOS6.2调整home分区大小 http://www.2cto.com/os/201211/171591.html 1.首先查看磁盘使用情况 df -h  www.2cto.com     Filesystem             Size  Used Avail Use% Mounted on   /dev/mapper/vg-lv_root 50G  8.9G  378G   18% /   tmpfs                  1.9G  112K  1.9G   1% /dev/shm   /dev/sda1              485M   ...
版本:12.1.3 在搭建cluster 过程中出现这个错误,启动Node机器节点的时候,Manager 机器console 抛出: <Sep 12, 2014 11:00:13 AM CST> <Warning> <DeploymentService> <BEA-290074> <Deployment service servlet received file download request for file "security/SerializedSystemIni.dat". The file may exi ...
现象: 今天在遍历选择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 an unexisting object even if it was right their on UI 解决方案:select 为例     private void selectOption( ...
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 ];    then      return 0    else      return 1    ...
在搭建ruby 和 watir 环境可是费了一番功夫 ,现在将遇到的错误总结了下 1.While executing gem ... (NoMethodError)     undefined method `size' for nil:NilClas 这个问题的原因是gem中的缓存文件造成的   命令 gem env    可以查看到gem的path路径   我得到的路径是:GEM PATHS:  D:\Ruby192\lib\ruby\gems\1.9.1   进入这个目录下的cache目录,然后将所有的文件删除 2.Require "watir"遇到 lo ...
转自 http://blog.csdn.net/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,安装完成后,位于C:\Ruby193 3、开始->运行->输入cmd回车,可以显示Ruby的版本,即Ruby安装成功。 二、RubyGems 1、>gem -v 显示:1.8.11 更新gem,用 ...
现象: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.Create()wElement("micclass").Value="WebElement"wElement("html tag").Value ...
Global site tag (gtag.js) - Google Analytics