【转载】Adobe为QTP提供的Flex4插件

上一篇 / 下一篇  2010-04-05 23:39:27 / 个人分类:Oracle

AdobeQTP提供的Flex4插件

http://labs.adobe.com/wiki/index.php/Flash_Builder_4:Release_Notes#Flex_4_Plug-in_for_HP_QuickTest_Professional

 

下载地址:

http://download.macromedia.com/pub/labs/flex/4/flex4_automation_install_100509.zip

 

Flex 4 Plug-in for HP QuickTest Professional
To use Flex and AIR Automated Testing with the Flex 4 Plug-in for HP QuickTest Professional (formerly Mercury QuickTest Pro), you must perform. additional steps. The rest of this section describes how to install and use the Flex 4 Plug-in for HP QuickTest Professional

Requirements for Using the QTP Plug-in

To test applications with Flex Automated Testing and the QTP agent, you must install the following:

HP (formerly Mercury) QuickTest Professional 9.5 with Internet Explorer 6 & Internet Explorer 7
Adobe Flex 4 Plug-in for Mercury QuickTest Pro
Microsoft Internet Explorer, version 6 or later
Flash Player ActiveX control, version 9.0.28.0 or higher
Installing the Plug-in
This section describes the steps necessary for a QC testing professional to configure QTP to work with Flex applications. You must install QTP and the plug-in.

To install QTP

Install Flash Player 9 ActiveX control (9.0.28.0 ) or newer for Microsoft Internet Explorer. This is currently the only supported browser/player.
If you are using Mercury QTP on Microsoft Windows Vista you need to turn off the User Account Control (UAC) feature. Instructions to turn off UAC are available here
Restart your computer.
To install the Flex 4 Plug-in for Mercury QuickTest Pro

Download the Adobe Flex 4 Plug-in for HP QuickTest Pro zip file and unzip it on the machine where you want to install the plug-in.
Double Click on the Install_QTP_Plugin.bat.
Restart your machine.
The plug-in installer will include the following in the installation directory:

AIR folder which will have the AIR related dlls
FLEX folder which will have the Flex related dlls
Uninstall_QTP_Plugin.bat Double clicking on this bat file will uninstall the QTP Plug-in.
ReadMe.txt file.
Using the Plug-in
You can download a demo zip. It contains a Flash movie that describes the basics of using the plug-in.Be sure to enable audio on your computer.

Start QTP again after installing the plug-in. The Add-in Manager lists the Flex and AIR plug-in.
Select the Flex plug-in in the Add-in Manager if you want to automate Flex applications or select the AIR Plug-in in the Add-in Manager if you want to automate AIR applications.
Select New > Test and click the Record button.
NOTE: Flex application testing with QTP currently supports only Microsoft Internet Explorer with the ActiveX Flash Player. For more information on these tasks and using QTP to test Flex applications, see Testing with QTP. For information on the operations and properties of Flex objects in QTP, see QTP Object Type Information.

Samples for Automated Testing Sample custom agents are available at Custom Automation Agents. An application ready for testing with QTP can be found at Flexstore AT. This sample can be used to test if the QTP plugin installation was successful. An example for automating custom components can be found at Automating Custom Component.

 

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Testing_is_believing/archive/2010/03/16/5385013.aspx


TAG:

 

评分:0

我来说两句

Open Toolbar