QTP关键字驱动框架 - RelevantCodes[1]One

来源:互联网 发布:mac中文游戏 编辑:程序博客网 时间:2024/04/29 19:13

 

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.