TestComplete自动化测试培训教材.pdf

本文档为TestComplete中文教程,涵盖安装配置、.NET对象测试、C#脚本编写等内容。详细介绍了自动化测试流程,包括数据驱动测试及对象驱动测试等方法。

 

 

 

 TestComplete自动化测试培训教材.pdf


这个文档是TestComplete中较少的中文文档,作者不明,我感觉这个pdf是一个更大文件中的一部份,哪位大哥要是找到更齐全的能不能发给我一下。

文档是以TestComplete7以前的版本为基础讲解的,内容包括:
1. TestComplete使用简介
安装;
录制脚本,编辑测试脚本,运行脚本;

2. TestComplete对.NET软件测试的支持
如何识别.NET程序的控件
通过对象名访问.NET对象;
通过类名、caption和index访问.NET对象;
访问不可见对象的属性和方法

3.在TestComplete中调用.NET对象的函数
CLR Bridge的设置;
.NET对象的使用;
访问DLL中的对象方法;

4.TestComplete中的C#脚本

5.在C#中使用TestComplete的对象模型
创建connected程序;
编写connected类型的测试类;
在connected程序中执行测试;

6.TestComplete与MSTest单元测试的整合
创建单元测试;
配置MSTest单元测试;
配置MSTest执行路径;
在TestComplete中运行MSTest单元测试代码;

7.TestComplete中的对象驱动测试方法
ODT简介;
ODT测试类的创建;
为测试类添加测试方法;
为测试类添加属性;
ODT测试数据的编辑运行;

8.TestComplete脚本编写的基本步骤
数据驱动测试方法;
对象驱动测试方法;
常用技巧

附件:http://download.csdn.net/source/3515465

 

 

 

TestComplete is an automated testing tool, designed for advanced and novice testers alike, to create, manage and run tests for any desktop, Web or rich client software. It does not depend on any development tool, or application type. Your tests will work fine with any application regardless of whether it was created in C#, C++, Delphi, Java, or any other development language. TestComplete is the most efficient tool of its kind, in regards to the price and quality of the product. This guide takes a refined approach towards quickly learning the capabilities of TestComplete, using relevant illustrations and practical examples. Each example is consonant with true-to-life situations, which testers would come across sooner or later, while automating tests. With the help of these examples, we will look into complex themes and learn how to test web applications in the most effective manner. Throughout the first chapters, we will be dealing with some fairly simple tasks that are of interest to people new to TestComplete, gradually moving towards advanced-level automation approaches, which are riveting both for novices and experienced TestComplete users. We will explore various methods of tests creation for study (e.g. recording, modification and manual coding with use of different approaches), learn test creation using different methods(each of them being suitable for a specific use-case), learn how to distinguish between different methods for accessing controls elements, selecting a most appropriate approach for each of the cases in view. We will also undertake distributive testing for the sake of shortening the overall time for test launches. This practical guide will help you to answer frequently asked questions relating to automation testing and set the tone for the correct direction of your advancements, which are instrumental to organizing automation in your project. What you will learn from this book Learn to install and provide appropriate settings for TestComplete Record, modify, and manual code scripts Learn to create keyword tests by the automation specialists Customize effective launches of the tests (including distributed launching on several computers) Learn to debug scripts, and search and correct errors Discover how to work with desktop applications and web-applications Understand how to use log formatting and log generation in a proper format Get to grips with how to work with non-standard controls elements
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值