TestComplete基礎(chǔ)教程.....................................................................................................................2
Getting Started Tutorial(快速入門教程).............................................................................3
Introducing Automated Testing and TestComplete(自動化測試與Testcomplete簡介)......3
Automated Testing(自動化測試)........................................................................................3
Test Types(測試的種類)......................................................................................................4
TestComplete Projects and Project Items(Testcomplete的項目與項目組)........................4
TestComplete User Interface(Testcomplete的用戶界面)....................................................5
TestComplete Test Object Model(Testcomplete的測試對象模型).....................................7
Checkpoints and Stores(檢查點和數(shù)據(jù)存儲).....................................................................9
Creating Your First Test(創(chuàng)建你的第一個自動化測試)......................................................9
1. Creating a Test Project(創(chuàng)建一個測試項目).........................................................10
2. Defining Applications to Test(定義被測程序).......................................................11
3. Planning Your Test(制定測試計劃).......................................................................12
4. Recording a Test(錄制測試)...................................................................................13
5. Analyzing the Recorded Test(分析錄制的測試)....................................................22
6. Running the Recorded Test(執(zhí)行測試腳本)..........................................................24
7. Analyzing Test Results(分析測試結(jié)果)..................................................................25
TestComplete數(shù)據(jù)驅(qū)動測試...........................................................................................................28
1.創(chuàng)建項目組(1: Creating a Project Suite)........................................................................29
2.存儲測試數(shù)據(jù)(Creating a Data Storage)........................................................................30
3.建立一個迭代腳本(Creating One Script Iteration)........................................................31
4.修改腳本、定制輸入值(Modifying Script and Assigning Input Values).......................38
把錄制好的腳本拆分成不同的子程序:.....................................................................38
創(chuàng)建Main函數(shù):............................................................................................................44
修改Main函數(shù)的代碼:................................................................................................45
修改OpenForm, PopulateForm, Checkpoint, CloseForm, CloseApplication 子程序.....48
獲取測試數(shù)據(jù).................................................................................................................48
5.運行測試腳本,查看測試結(jié)果(Executing Script and Checking Results).....................60
TestComplete測試.NET應用程序...................................................................................................60
Testing .NET Applications – Overview(概況).....................................................................60
.NET Open Applications(白盒測試)...................................................................................62
Testing .NET Applications ?Required Plug㊣ns(所需插件).................................................63
Addressing Windows, Controls and Objects of .NET Applications(窗體、控件和對象的尋址)................................................................................................................................................63
Retrieving Data From .NET Objects(獲取.Net對象的數(shù)據(jù))..............................................69
TestComplete基礎(chǔ)教程
Testcomplete包含了一系列的教程來幫助你熟悉testcomplete和學習相關(guān)的測試技術(shù)。每一個教程都詳細的步驟來指引你輕松完成整個項目的創(chuàng)建,涵括了各種類型的測試場景。 |
|