QTP關鍵字驅動框架 - RelevantCodes[1]One

TIB發表於2010-03-14

 

Anshoo Arora最近釋出了一個QTP的關鍵字驅動框架,名為“RelevantCodes[1]One

 

使用該框架,可以把這樣的DP程式碼:

Browser("title:=Test").Page("title:=Test").Image("name:=ThisImage").Click

用這樣的關鍵字形式進行編寫:

Parent       | Child | Description     | Event | Value

--------------------------------------------------------------------------

Browser Page | Image | name:=ThisImage | Click | ""

 

 

功能特性:

OO Architecture

Custom DOTNetFactory Form

Hierarchical Reporting

Product Version Settings

Single Block for Loading and Unloading Global Objects

Advanced Dictionary Object usage

Generic Structure (Currently supports Web & Standard Windows)

Simple Validations

Custom CheckPoints

Supports execution on multiple windows/browsers (see Test Case 002)

Simple Reporting

Data Sheet with Custom Macros (macros will not available for viewing)

Customized Test Execution

Supports multiple object descriptions

 

 

當前版本0.1 Beta

 

 

下載地址

http://relevantcodes.com/relevantcodes1one-qtp-automation-framework/

 

 

使用方法:

1. Download, unzip and copy the RelevantCodes folder to your C:/ The folder structure should look exactly like:

 

C:/RelevantCodes/RelevantCodes[1]One/0.1/<Other Files & Folders>

 

2. In the folder "C:/RelevantCodes/RelevantCodes[1]One/0.1/Test Resources/Excel Tables", change the name of one of the tables to Data.xls. If you are using QTP 9.2 or below, rename Data92.xls. For versions 9.5 and higher, rename Data95+.xls.

相關文章