TIB 自动化测试工作室
http://www.cnblogs.com/testware/
TestComplete基础教程.....................................................................................................................2
GettingStartedTutorial(快速入门教程).............................................................................3
IntroducingAutomatedTestingandTestComplete(自动化测试与Testcomplete简介)......3
AutomatedTesting(自动化测试) ........................................................................................3
TestTypes(测试的种类) ......................................................................................................4
TestCompleteProjectsandProjectItems(Testcomplete的项目与项目组) ........................4
TestCompleteUserInterface(Testcomplete的用户界面)....................................................5
TestCompleteTestObjectModel(Testcomp lete 的测试对象模型) .....................................7
CheckpointsandStores(检查点和数据存储) .....................................................................9
CreatingYourFirstTest(创建你的第一个自动化测试)......................................................9
1.CreatingaTestProject(创建一个测试项目).........................................................10
2.DefiningApplicationstoTest (定义被测程序) .......................................................11
3.PlanningYourTest(制定测试计划) .......................................................................12
4.RecordingaTest(录制测试)...................................................................................13
5.AnalyzingtheRecordedTest(分析录制的测试)....................................................22
6.RunningtheRecordedTest(执行测试脚本)..........................................................24
7.AnalyzingTest Results(分析测试结果)..................................................................25
TestComplete数据驱动测试...........................................................................................................28
1.创建项目组(1:CreatingaProjectSuite) ........................................................................29
2.存储测试数据(CreatingaDataStorage)........................................................................30
3.建立一个迭代脚本(CreatingOneScriptIteration)........................................................31
4.修改脚本、定制输入值(ModifyingScriptandAssigningInputValues) .......................38
把录制好的脚本拆分成不同的子程序:.....................................................................38
创建Main函数: ............................................................................................................44
修改Main函数的代码: ................................................................................................45
修改OpenForm,PopulateForm,Checkpoint,CloseForm,CloseApplication 子程序.....48
获取测试数据.................................................................................................................48
5.运行测试脚本,查看测试结果(ExecutingScriptandCheckingResults) .....................60
TestComplete测试.NET应用程序 ...................................................................................................60
Testin g.NETApplications–Overview(概况) .....................................................................60
.NETOpenApplications(白盒测试)...................................................................................62
Testin g.NETApplications‐RequiredPlug‐Ins(所需插件) .................................................63
AddressingWindows,ControlsandObjectsof.NETApplications(窗体、控件和对象的寻址)
................................................................................................................................................63
RetrievingDataFrom.NETObjects(获取.Net对象的数据) ..............................................69