您的位置:首页 > 产品设计 > UI/UE

M-eux Test for QuickTest Professional (QTP移动应用自动化测试插件M-eux)

2012-02-08 11:44 791 查看
M-eux Test is the only tool that seamlessly extends QuickTest Professional to test mobile applications.
M-eux Test 是唯一的一款能够无缝地扩展QTP专业测试移动应用的工具。

The underlying technology of QuickTest Professional is re-used for test automation of mobile applications. By
loading the M-eux Test add-in,
QTP 最基本的技术是重复的自动化的测试这些移动应用通过加载 M-eux Test 插件。

the QC engineer can use all functionality of QuickTest Professional to test mobile applications including recording, object repository, active screen, exception handling,
integration with BPT and QC.
测试工程师可以使用QuickTest Professional 所有功能测试移动应用包括录制,对象库,激活屏幕,异常处理,集成 BPT and QC。


Mobile application testing

移动应用测试

With the M-eux Test add-in loaded, QuickTest Professional can recognize the user interface elements on the actual device or in the emulator/simulator.
QuickTest Professional 通过加载 M-eux
Test插件能够识别真实手机设备或者模拟器的界面元素。

All user interface objects are directly recognized by their attributes.
所有的界面元素都能够通过他们的属性来直接识别。
The add-in applies the same technology for the mobile device that QuickTest Professional applies in the PC world : the access to the user interface object through the
API of the operating system.
这个插件对移动设备使用的技术就像QTP对PC一样,通过系统提供的API来获取用户的界面元素。
This ensures:
有一下特点:

Full support of all mobile user interface objects in the object repository.
支持所有移动用户界面对象的对象库

Recording functionality
录制功能
Re-use of the QuickTest Professional expertise like: descriptive programming techniques, exception handling, etc …
重用了QTP的一些技术如:描述性编程技术、异常处理等..
Full support for QC and BPT integration of QuickTest Professional
全面支持QTP的集成工具QC和BPT
Easy scripting of reliable scripts
简单可靠的脚本

Easy re-use of the script for regression testing, validation testing on new versions of the mobile operating system, validation testing on new models of actual devices.
可以很简单的使用这些脚本进行回归测试、在新的手机操作系统上做确认测试、在新型号的手机上做确认测试、

The following figure shows a part of the set of attributes recognized by the tool of the iPhone list user interface object.
下图显示了通过本工具所获得Iphone界面元素的对象列表的部分属性。



Using these attributes, the tool can manipulate and verify all characteristics of the mobile user interface object.

1、使用这些属性,该工具可以操纵和核实手机用户界面对象的所有特征。

No bitmap scraping or pattern matching or OCR techniques are applied ensuring high reliability and re-use of the test scripts.

2、没有位图干扰或模式匹配或光学字符识别技术的应用,确保了高可靠性和重复使用的测试脚本。

The tool has proven its value in testing mobile applications handling dynamic data or mobile applications that are localized.

3、该工具的价值已经在测试移动应用程序态数据处理或移动应用程序的本地化方面得到证明

The tool contains also utility functions in order to complete the support for testing mobile applications.

该工具还包含了一些为完全支持测试移动应用的一些特殊功能。

For example: incoming phone calls can be intercepted. SMS, e-mail messages can be sent from the background. Also diagnostic functions are available showing for example the memory allocation, the number of processes running on
the device and many other functions related to the hardware and software configuration of the device.

如:来电中断,短信、邮件的后台发送,还有一些诊断功能如:内存分配、设备开启的进程数还有一些和硬件、软件配置相关的功能。

The architecture of the extension is shown in following figure:
该架构及其扩展如下图:



An agent is installed on the mobile device.
这个代理是安装在移动设备上的。
The agent is responsible for the recording and the replay of the test commands The Device is connected to the PC using either WIFI or a USB connection.
这个代理负责记录和回放这些测试命令,设备的连接可以通过USB或者WIFI.
The Device Manager is the gateway between the connected devices and the extension inside QTP.
设备管理器是连接的设备之间的延伸和QTP内部扩展的网关。

The architecture allows the connection of multiple devices. One test script can execute against multiple devices.
该架构允许连接多个设备。一个测试脚本可以执行多个设备。

QTP tutorial

This tutorial contains how to :
指导教程包括:

Perform a Learn GUI in QTP
学习了QTP的GUI模式
Highlight objects on the RDS
高亮显示在RDS上的对象
Use the checkproperty function to log checkpoints in the report
使用 checkproperty 功能在报告中记录检查点
Use the Resultmanager to log custom checkpoints in the report
使用结果管理器在报告中记录用户的检查点
Use the datatable
使用数据表
Use the BitmapSave and BitmapCheck functions to do Bitmap verification
使用bitmapsave和bitmapcheck功能做位图的验证



Supported devices

支持的设备有:
Both actual devices as simulators/emulators are supported.
真机和模拟器都支持
设备的操作系统系统的版本
AndroidAndroid 1.5, Android 1.6, Android 2.0, Android 2.0.1, Android 2.1, Android 2.2, Android 2.3 & Android 2.3.3, Android 3.0, Android 3.1, Android 3.2, Android 4.0.1 and Android 4.0.3

BlackBerryBlackBerry OS 4.6, .47, 5.0 and 6.0

iOSiOS 4.2.x, iOS 4.3.x and iOS 5.0( iPhone, iPad and iTouch)

Windows MobileWindows Mobile 2003 Pocket PC second edition
Windows Mobile 2005 Pocket PC
Windows Mobile 6.0, 6.1 and 6.5
Classic, Standard & Professional

Windows CEWindows CE 5.0
Windows CE 6.0

(*) QuickTest Professional is a product from Hewlett Packard.

网站:http://www.jamosolutions.com/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐