M-eux Test for QuickTest Professional (*)
M-eux Test is the only tool that seamlessly extends QuickTest Professional to test mobile applications. The underlying technology of QuickTest Professional is re-used for test automation of mobile applications. By loading the M-eux Test add-in, 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.
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.
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. 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 �
- Full support for QC and BPT integration of QuickTest Professional
- 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.
Using these attributes, the tool can manipulate and verify all characteristics of the mobile user interface object. No bitmap scraping or pattern matching or OCR techniques are applied ensuring high reliability and re-use of the test scripts.
The tool has proven its value in testing mobile applications handling dynamic data or mobile applications that are localized.
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. The Device Manager is the gateway between the connected devices and the extension inside 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
- Highlight objects on the RDS
- Use the checkproperty function to log checkpoints in the report
- Use the Resultmanager to log custom checkpoints in the report
- Use the datatable
- Use the BitmapSave and BitmapCheck functions to do Bitmap verification
|
Supported devices
Both actual devices as simulators/emulators are supported.
Device Operating System | System Supported versions |
Android |
|
BlackBerry |
|
iOS |
|
Windows Mobile |
|
Windows CE |
|
(*) QuickTest Professional is a product from Hewlett Packard.