自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (12)
  • 收藏
  • 关注

原创 针对QTP连接oracle数据库问题总结

首先,因为群里很多朋友说QTP连接oracle有点麻烦,我针对于连接oracle做一个完整的教程,希望需要学习的朋友都可以来看一下;具体方法如下:  1、无论是什么语言,连接oracle客户端是不可少的,这个是没办法省的;我用的是10g_win32_client;如果觉得老,朋友们可以用新版本的;      解压-安装-着方面无非就是下一步操作,这边我们不讲,配置可能有些初学者不会,我这边从配

2015-08-05 09:56:46 3916

原创 QTP之IE最大化

'———————————————————————————————————————————    '名称:MaxIE    '作用:最大化IE    '使用:QTP.MaxIE(BrowserCreationTime)    Function MaxIE(BrowserCreationTime)        On Error Resume Next  '开启错误处理,不弹出错误。         

2015-05-14 15:17:51 1117

原创 QTP之Description秒用

在QTP中,description对象的用途基于这样一个基础:QTP是建立在对象识别基础上的自动化测试工具,当需要操作一个对象时有三种方式:1,使用对象库中已经记录的控件名;2,使用描述性编程;3,使用description对象。  其实对于2和3的理解是类似的,也就是说,当QTP在执行过程中需要给他一个描述,即“我要操作谁”,对于第二种方式,是告诉QTP“你给我找一个控件对象,找到它可能需要经过

2015-05-14 15:17:48 354

原创 QTP测试之With秒用

如果代码是     Browser("XXX").Page("XXX").Frame("选择人员").Image("按员工ID查找").Click : wait 0,500 Browser("XXX").Page("XXX").Frame("选择人员").WebEdit("员工ID").Set "XXX" Browser("XXX").Page("XXX").Frame("选择人员").

2015-05-14 15:17:45 522

原创 QTP之轻松写入html log

用QTP自动化的人都知道,报告时一个很重要的文件,也是检验测试是否通过的凭证,那么如何才能更好的写好log呢?今天我先开的头,可能要在后面才会更新这个模块内容;先给大家来个例子; Function wrt_html(oStr) Dim FSO,oLog Dim FileDir '文件路径 ' On Error Resume Next Const ForRead

2015-05-14 15:17:42 400

原创 robotium之基本操作和log操作

自动化测试最重要的就是LOG和报告,这是自动化的精髓所在。。。。        检验开发成果时,所有的文档,流程图等等都是辅助工具,当然缺少这些是不可行的,但是做这些的目的就是为了把产品设计出来;用户和需求最后希望要的也是产品,如网站,apk等等;      那么检验测试成果是什么呢?当然是测试报告,你发现多少BUG,做过多少操作,没有人会关心,别人只关心你对产品质量的控制;报告中就是质量的体

2015-05-14 15:17:39 333

原创 robotium之读取excel

现在测试用例都是在excel中,我先分享一个读取excel2003的代码: package com.test; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Lis

2015-05-14 15:17:36 306

原创 robotium之Java读取excel2010

Java中读取excel当然是比较麻烦的事情,不过现在开源的东西很多,自然就变的简单,让我们来看一下,上一篇和大家分享的是用jxl读取excel,坑能有所缺陷,现在和大家分享的是poi读取excel,它们两个有什么区别呢? 我们引用下面一段话 数据量3000条数据,每条60列.JVM虚拟机内存大小64M.使用POI:运行到2800条左右就报内存溢出.使用JXL:3000条全部出来,并且内存还有

2015-05-14 15:17:34 314

原创 robotium之无法识别控件点击

手机测试比较常用的就是点击,不管事按钮,是图片,是输入框,等等等等都需要点击; 1、正常点击:solo.clickOnText("^登录?")     正常输入:solo.waitForText("^账号?", 1, 10000);     solo.enterText(0, "00195852");     solo.enterText(1, "password"); 2、登录按钮时图片

2015-05-14 15:17:31 333

原创 java单例模式之深入浅出

单例模式确保某个类只有一个实例,而且自行实例化并向整个系统提供这个实例。在计算机系统中,线程池、缓存、日志对象、对话框、打印机、显卡的驱动程序对象常被设计成单例。这些应用都或多或少具有资源管理器的功能。每台计算机可以有若干个打印机,但只能有一个Printer Spooler,以避免两个打印作业同时输出到打印机中。每台计算机可以有若干通信端口,系统应当集中管理这些通信端口,以避免一个通信端口同时被两

2015-05-14 15:17:28 311

原创 java事务处理

一.什么是事务 事务是应用程序中一系列严密的操作,所有操作必须成功完成,否则在每个操作中所作的所有更改都会被撤消。也就是事务具有原子性,一个事务中的一系列的操作要么全部成功,要么一个都不做。 事务的结束有两种,当事务中的所以步骤全部成功执行时,事务提交。如果其中一个步骤失败,将发生回滚操作,撤消撤消之前到事务开始时的所以操作。 二.事务的 ACID 事务具有四个特征:原子性( Atomicity

2015-05-14 15:17:25 274

QTP之Description秒用

QTP之Description秒用

2015-09-22

openfire二次开发myeclipse

openfire3.9.1源码下载到部署,全过程解析。每一步都有图解,保证手到擒来。

2014-05-29

JDK_API_1_6_zh_CN.CHM

中文API,JDK_API_1_6_zh_CN.CHM ,开发的宝典,非常适用。

2012-12-17

jquery-easyui-themes.zip

资料很全面,你自己下来看看就知道,我觉得非常好用。

2012-06-29

jquery-easyui-1.2.6.zip

资料非常全面,自己下来看就知道了。我用的很爽。

2012-06-29

jquery.cookie

jquery.cookie.直接引用就好了。

2012-06-28

《Java+Swing图形界面开发与案例详解》源代码

japplet代码详解,各种列子,非常全面。

2012-06-28

VMware_Workstation的Mac补丁

Introduction ------------ This program allows you to run any flavor of Mac OS X inside a VMware virtual machine, on any physical machine. Supported configurations ------------------------ Version 7 of this program is known to work with the following configurations: Guest operating system Mac OS X (Client or Server) versions: 10.5, 10.6 VMware product VMware Workstation (for Windows or Linux) version: 7.1 VMware Fusion (for Mac OS X) version : 3.1 Hardware CPU feature: Intel VT Instructions for VMware Workstation for Windows ----------------------------------------------- Install VMware Workstation. Make sure all virtual machines and VMware Workstation are stopped. As the Administrator user, run the "windows.bat" program (located in the same directory as this file) from the command line (Command Prompt). Read the "Frequently Asked Questions" section below. Instructions for VMware Workstation for Linux --------------------------------------------- Install VMware Workstation. Make sure all virtual machines and VMware Workstation are stopped. As the super user, run the "linux" program (located in the same directory as this file) from the command line. Read the "Frequently Asked Questions" section below. Instructions for VMware Fusion for Mac OS X ------------------------------------------- Install VMware Fusion. Make sure all virtual machines and VMware Fusion are stopped. As the super user, run the "macosx" program (located in the same directory as this file) from the command line (Terminal). Read the "Frequently Asked Questions" section below. Frequently Asked Questions -------------------------- Q1: When I power on a Mac OS X virtual machine, I get the error "Mac OS X is not supported with software virtualization". A1: Mac OS X guest requires that your physical CPU supports Intel VT. However that feature is sometimes disabled in the BIOS (this is often the case on Dell computers). To enable it, restart your physical computer, enter the BIOS setup, enable Intel Virtualization Technology, save the new BIOS configuration, and then (that is the important part) cold power off the physical machine. Q2: In a virtual machine, the Mac OS X installer does not display any volume, so I cannot select one to install Mac OS X on it. A2: Select "Utilities > Disk Utility" in the menu, select the virtual hard disk at the top of the left pane, click on the "Erase" tab at the top of the right pane, click on the "Erase" button at the bottom of the right pane, and confirm your choice with the "Erase" button. Wait until the volume is created, then select "Disk Utility > Quit Disk Utility" in the menu. The installer will now display the new volume. Select the new volume to install Mac OS X on it. Q3: Can I make the interaction with a Mac OS X virtual machine much smoother? A3: Yes: you need to install "VMware Tools for Mac OS X". If you are using VMware Fusion, select your Mac OS X virtual machine, then select "Virtual Machine > Install VMware Tools" in the menu and follow the instructions. If you are using VMware Workstation, then ask a friend who has installed the latest version of VMware Fusion to send you the file located at "/Library/Application Support/VMware Fusion/isoimages/darwin.iso" on his physical machine. Using a USB key thumb or networking, copy this file inside your Mac OS X virtual machine, and open it. Motivation ---------- Thanks to the efforts of the OSx86 project ( http://www.osx86project.org/ ), it is now possible to install Mac OS X on a variety of non-Mac computers. But this approach: 1) Takes a lot of time and effort for the project developers. They must develop driver hacks for a variety of hardware, and they must modify their hacks every time Apple breaks them with a minor update of Mac OS X. 2) Takes a lot of time and effort for users. They must read the project's copious and scattered documentation, and they must experiment with many possible solutions, if they want to make Mac OS X work nicely on their PCs. 3) Modifies Mac OS X. The Mac OS X bits that users are running on their PCs are not the same bits that Apple tested to attest of their quality. Instead, it seems better to stand on the shoulder of giants! It is already the job of VMware's paid developers to take care of #1 and #3 above by exposing virtual Mac hardware to a Mac OS X guest. Running Mac OS X inside a VMware virtual machine already is a really good out-of-the-box experience, and you can bet it will only improve over time. Unfortunately, Apple's Mac OS X End-User License Agreements force VMware into artificially crippling their products: o You cannot run Mac OS X Client in a virtual machine. o You cannot run Mac OS X in a virtual machine on a non-Apple physical machine. So all we have to do to solve #2 above is to uncripple VMware's products! And that is precisely what this program does. Contact ------- To provide feedback about this program (for example if it stops working with later versions of VMware products), and for general discussion about this program, go to http://www.insanelymac.com/forum/index.php?showtopic=220750 .

2012-06-28

tomcat7.0.2

tomcat下载,和官方的一样哦。很好用。

2012-06-28

Myeclipse10.5和10.1破解软件

兼容破解myeclipse10.5和10.1内有说明。

2012-06-28

KingStore_MPTool2_v1.2.2.2_20101103

KingStore_MPTool2_v1.2.2.2_20101103是对u盘进行产量化的。工具很好用

2011-10-22

CheckUDisk

U盘被保护格式化。CheckUDisk工具。很给了。

2011-10-22

空空如也

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

TA关注的人

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