One piece,是真正存在的。

此博客停更,新地址传送门:Yuanjie

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页

2011年12月7日 #

关键字驱动测试方法

摘要: 关键字驱动测试方法(Keyword-driven testing),也叫表格驱动测试方法(Table driven testing),是软件自动化测试的一种方法。关键字驱动测试把测试脚本的编程工作分离出去,让没有编程技巧的人也能开发自动化测试脚本。关键字驱动测试让脚本的维护工作量减少,即使应用程序发生很大改变,也只需要简单的更新和维护即可。关键字驱动测试方法把测试脚本的创建分成两个阶段:计划阶段和实现阶段计划阶段:分析应用程序,并决定哪些对象和操作会被测试过程使用到,决定哪些操作需要使用个性化的关键字来提供额外的功能,从而完成清晰的业务操作,并且最大化测试的效率和可维护性。实现阶段:创建对象库 阅读全文

posted @ 2011-12-07 14:11 One|Piece 阅读(1811) 评论(0) 推荐(0) 编辑

QTP中Screen Recorder无内容,no movie is associated with the results.

摘要: 现场:运行脚本后,查看Result中Screen Recorder时,提示:no movie is associated with the results.解决办法:Tool-Options-勾上“save movie to result”--选择上Always再运行脚本,此问题解决 阅读全文

posted @ 2011-12-07 12:07 One|Piece 阅读(198) 评论(0) 推荐(0) 编辑

2011年12月6日 #

QTP:Flight账号及密码

摘要: 用户名>=四个字节的字符都可密码:mercury 阅读全文

posted @ 2011-12-06 15:49 One|Piece 阅读(299) 评论(0) 推荐(0) 编辑

2011年12月5日 #

QTP:.net中写文件

摘要: Set oFile = DotNetFactory("System.IO.StreamWriter", ,"c:\test.txt") oFile.Write "test report" oFile.WriteLine now oFile.Close oFile.dispose Set oFile = Nothing Set oEncoder = Nothing 路径格式:c:\test.txt文件中内容:test report2011-12-5 15:38:09 阅读全文

posted @ 2011-12-05 15:37 One|Piece 阅读(148) 评论(0) 推荐(0) 编辑

2011年12月1日 #

QTP问题修改:This run was performed on Internet Explorer 7.x without the required 'Enable Tabbed Browsing

摘要: 问题现场:QTP9.2中使用IE8.0回放脚本时,报错:This run was performed on Internet Explorer 7.x without the required 'Enable Tabbed Browsing' option cleared. Therefore, steps performed on this browser may have unexpected results. It is recommended to clear the 'Tools > Internet Options > Advanced > 阅读全文

posted @ 2011-12-01 14:45 One|Piece 阅读(212) 评论(0) 推荐(0) 编辑

2011年11月24日 #

如何在VS2010中运行控制台程序时停留在控制台显示窗口

摘要: 1、工具栏,右键选择“生成”,在工具栏会显示生成相关工具2、选择此工具中“添加或移除按钮”3、选择“自定义”,在出现在界面中选择“命令”--“添加命令”4、在“类别”中选择“调试”--“开始执行(不调试)”5、点击“确定”6、在编写完控制台程序后,选择此工具进行编译 阅读全文

posted @ 2011-11-24 11:01 One|Piece 阅读(622) 评论(0) 推荐(0) 编辑

2011年11月23日 #

问题处理:类没有复制构造函数

摘要: 现场:在正常的创建C++语法时Test t = gcnew Test();编译后,报错。提示:类没有复制构造函数解决方法:修改代码如下Test^ t = gcnew Test(); 阅读全文

posted @ 2011-11-23 17:18 One|Piece 阅读(242) 评论(0) 推荐(0) 编辑

bat垃圾清理

摘要: @echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %systemdrive%\*.log del /f /s /q %systemdrive%\*.gid del /f /s /q %systemdrive%\*.chk del /f /s /q %systemdrive%\*.old ... 阅读全文

posted @ 2011-11-23 14:54 One|Piece 阅读(209) 评论(0) 推荐(0) 编辑

2011年10月17日 #

Lua安装与使用

摘要: 下载传送门:http://code.google.com/p/luaforwindows/downloads/detail?name=LuaForWindows_v5.1.4-45.exe&can=2&q=版本:LuaForWindows_v5.1.4-45下载完成后,安装。***测试是否安装成功:开始--运行--lua.exe,是否进入lua控制台***测试脚本:在控制台中输入:print "Hello world!"回车后,查看显示内容: 阅读全文

posted @ 2011-10-17 14:26 One|Piece 阅读(528) 评论(0) 推荐(0) 编辑

2011年10月12日 #

File文件操作

摘要: 对文件进行相关操作:Openpublic: static FileStream^ Open( String^ path, FileMode mode ) FileMode CreateNew 指定操作系统应创建新文件。此操作需要 FileIOPermissionAccess..::.Write。如果文件已存在,则将引发 IOException。 Create 指定操作系统应创建新文件。如果文件已存在,它将被覆盖。这要求 FileIOPermissionAccess..::.Write。System.IO.FileMode.Create 等效于这样的请求:如果文件不存在,则使用 Cre... 阅读全文

posted @ 2011-10-12 13:42 One|Piece 阅读(330) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页

导航