本文主要是介绍QTP关键字驱动框架 - RelevantCodes[1]One,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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.
这篇关于QTP关键字驱动框架 - RelevantCodes[1]One的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!