TestComplete Made Easy 读书笔记

本文是《TestComplete Made Easy》的读书笔记系列,详细介绍了TestComplete的安装、支持的测试类型、冒烟测试、白盒应用测试、单元测试、检查点功能以及数据驱动测试。TestComplete是一款强大的自动化测试工具,支持多种脚本语言和测试类型,包括功能测试、单元测试、分布式测试等。此外,还探讨了事件处理和ADO数据源的使用。
摘要由CSDN通过智能技术生成

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

               

TestComplete Made Easy》下载:

http://blog.csdn.net/Testing_is_believing/archive/2009/08/07/4423777.aspx

http://blog.csdn.net/Testing_is_believing/archive/2008/06/27/2593108.aspx


 

TestComplete Made Easy》读书笔记(1-TestComplete简介

 

TestComplete是这几年测试工具领域异军突起的一款自动化测试工具,由AutomatedQA出品,这几年迅速发展,并且屡获大奖,例如最近就获得Jolt08年度测试工具Productivity奖。

 

TestComplete的最大特点是支持VBScriptDelphiScriptJScriptC#ScriptC++Script多种脚本语言,可以让测试人员选择自己熟悉的脚本语言进行自动化脚本的编写。

 

另外,TC支持.NET DelphiJava等流行语言和平台下的软件的自动化功能测试,支持WEB功能和性能测试,支持分布式测试、单元测试等多种测试方式。

 

QTPRobot等主流大牌厂商的自动化测试工具相比,TC的优势除了上面所说的,还有价格也是其主要竞争优势之一。

 

国内目前对TC的关注和使用人数都不是很多,《软件测试技术大全》这本书中有部分章节介绍了TestComplete工具的使用。

 

目前能找到的关于TC的书就仅有《TestComplete Made Easy》这本了。为此,特辟此专栏,通过研习《TestComplete MadeEasy》来达到掌握TC的目的。

 

TestComplete Made Easy》读书笔记(2-TestComplete安装

 

可到www.AutomatedQA.com下载TC的最新版本。

 

TC安装的要求:

1Minimum System Requirements(最小系统需求)

ØIntel Pentium II 400 MHz or higher (Pentium III 800 MHz recommended).

ØMicrosoft Windows 98, Windows ME, Windows 2000, Windows XP (both 32-bitand 64-bit editions),Windows Vista (both 32-bit and 64-bit editions), WindowsServer 2003 (both 32-bit and 64-bit editions) or Windows NT 4.0 with ServicePack 6 or later.

Important: If you use a computer thathas several processors or a multiple-core processor (for example, dual-coreCPU) and has Windows XP Service Pack 2, then you must install the Windowsupdate #896256 in order for TestComplete to be able to record user actionscorrectly.

The update is available on Microsoft’sweb site: http://support.microsoft.com/kb/896256

ØMicrosoft Internet Explorer 5.0 or later.

ØMemory: 128MB of RAM (256MB or more recommended).

Ø250MB hard disk space.

ØVGA or higher resolution monitor.

ØMouse or other pointing device.

 

2Additional Requirements(额外需求)

ØTo test Java Open Applications, you must have one of the following Javavirtual machines installed on your computer:

o MSVM,build 3309 or later.

o SunJDK (or JRE) v. 1.1.8 or later.

o BEAJRockit 5.0.

ØTo test .NET Open Applications, the Microsoft .NET Framework v. 1.0.3705or later is required.

ØTo execute TestComplete tests from test projects created in MicrosoftVisual Studio 2005, Microsoft Visual Studio 2005 Team Suite ver. 8.0.50727.42or later or Microsoft Visual Studio 2005 Team Edition for Software Testers ver.8.0.50727.42 or later are required.

ØTo install TestComplete’s Microsoft Visual Studio 2005 Team FoundationIntegration package,Microsoft Visual Studio 2005 Team Foundation Server Releaseis required.

ØTo perform load testing of web servers, Microsoft Windows 2000, Window XP,Windows Vista,Windows Server 2003 or Windows NT with Service Pack 6.0 or lateris required. Also, it is recommended that your computer meets the followingrequirements:

· Minimal Configuration

o Intel Pentium III 800 MHz

o 256 of RAM (for 300 virtual users)

· RecommendedConfiguration

o Intel Pentium 4 3 GHz withHyperThreading

o 1 Gb of RAM

 

TestComplete Made Easy》读书笔记(3-TestComplete支持的测试类型

3.3 节中列举了TC支持的各种测试类型,包括:

1Manual Testing(手工测试)

Manual Testing is where a testermethodically exercises the features of a product or product area without theaid of test automation. The single greatest strength of manual testing is thatit is truly real-world testing, meaning that the tester can utilize theapplication under test the same way an end user would.

Through manual testing the tester canprovide a wide variety of feedback about the application under test not limitedto simply reproducing bugs.

The major weakness of manual testing isthat it is time consuming, tedious and requires extended periods of very focusedattention which can be very difficult to perform on a regular basis. Manual testingtends to be quite error prone, leading to situations where consistentlyreproducing a bug can be very difficult.

 

2Functional Testing(功能测试)

Functional Testing focuses oninteractions with an application's user interface (UI) via the mouse, keyboardor other input device with particular attention to how the application visuallyresponds to input.

The goal of Functional Testing is tomethodically cover all of the various UI features exposed by an application.Functional Testing should be highly organized and structured in a manner thatallows for additional tests to easily be incorporated as new features areadded.

 

3Unit Testing(单元测试)

Unit Testing is testing that focuses onsmaller atomic portions of an application. Typically, Unit Testing requiresinternal knowledge of how an application performs and seeks to test portions(objects, methods and function) of an application in isolation. In many cases,applications have to be designed with Unit Testing in mind in order for thistype of testing to be truly effective. The benefit of unit testing is that it tendsto force application developers to write smaller more well defined routineswith fewer dependencies allowing for more highly specific tests to bedeveloped.

 

4Regression Testing(回归测试)

Regression Testing is process ofexecuting tests in a repeatable manner and comparing the latest results withprevious test executions to ensure that the same outcome is achieved.Regression Testing is extremely important and is the means of realizing thevalue of test automation. Repeatedly executing tests over time allows you toverify the application is still performing in the manner in which it was intended.

 

5Distributed Testing(分布式测试)

Distributed Testing is the act of farmingdifferent portions of a test out to separate machines for execution.Distributed Testing is useful for simulating real world interactions on anetworked application such as a web site or web service and can exercisefunctionality designed to handle concurrent use of application resourcesincluding, but not restricted to data.

 

6HTTP Performance TestingHTTP性能测试)

HTTP Performance Testing is thesimulation of real-world interactions with a web application from multiplemachines. TestComplete provides the ability to leverage networked computers andvirtual users to simultaneously submit HTTP transactions to a web application.

 

TC是目前市面上少有的以低廉的价格在一个工具内提供对多种类型测试支持的工具。

 

TestComplete Made Easy》读书笔记(4-冒烟测试

 

冒烟测试是自动化测试中最重要,也最应该实现的测试。

The smoke test is crucial because of the timesavings it can provide both R&D and QA.

冒烟测试能为开发和QA节省大量的时间,一个好的冒烟测试应该:

· 快速运行 - asmoke test should not last for hours but minutes and test the most crucial

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值