摘要: 代码如下:获取相应的session中的值strComputer = "." Set objWMI = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") Set colSessions = objWMI.ExecQuery _ ("Select * f... 阅读全文
posted @ 2012-05-15 17:08 高级测试开发网 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 出错信息如下: Method public java.lang.String org.apache.commons.lang.exception.NestableRuntimeException.getMessage(int) threw an exception when invoked on net.sf.json.JSONException: A JSONObject text must b... 阅读全文
posted @ 2012-05-15 15:37 高级测试开发网 阅读(19100) 评论(1) 推荐(1) 编辑
摘要: 前提是你的eclipse项目注意一定要是java project,我以前用的采用web proect,结果导致了不能使用jar文件,折腾了好久。记下这点,以备后用。 阅读全文
posted @ 2012-05-15 12:18 高级测试开发网 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://eyeontesting.com/questions/631/qtp-110-change-tabs-in-ie-7,http://www.advancedqtp.com/forums/viewtopic.php?f=1&t=6164我对他做了一些封装: 阅读全文
posted @ 2012-05-15 11:37 高级测试开发网 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 今天碰到一小问题,package explorer下的一个项目名前有个红色感叹号,仔细查看了其所有子目录,没有任何异常符号,当运行程序时会提示项目中存在错误,如果忽略而继续执行的话,会出现“could not find the main class”异常。 解决方案:右击项目名,选中build path/configure build path,之后把前面出现红色感叹号的jar包删除再重新导入即可。*************************红感叹号:问题原因】:工程中classpath中指向的包路径错误【解决办法】:右键项目名称 BuildPath ---> Configure 阅读全文
posted @ 2012-05-15 10:50 高级测试开发网 阅读(21596) 评论(0) 推荐(1) 编辑
摘要: 参考说明文档:http://yyzjava.iteye.com/blog/1275455 阅读全文
posted @ 2012-05-15 10:06 高级测试开发网 阅读(220) 评论(0) 推荐(0) 编辑
摘要: *************************************************************配置说明*******************************************************1,struts基本项目的配置;1.1 导入lib目录下相关的struts2的jar包;1.2 重写web.xml使得所有的web请求交给struts2来处理;1.3 编写struts2的配置文件,使得struts2对应处理相关的请求url及其返回相应的请求url;*********************************************** 阅读全文
posted @ 2012-05-15 08:53 高级测试开发网 阅读(416) 评论(0) 推荐(0) 编辑
了解开发资源最新动态:https://seniortesting.club