M-eux Test for Eclipse

Eclipse is a development environment that has been extended by M-eux with the necessary functionality to create test scripts against mobile applications by recognizing the user interface objects on the mobile device. The benefit of using Eclipse for creating automated test cases is that you have now one platform for development and testing, scripts can run in parallel on different mobile devices and compiled test scripts can be disturbed to external companies which ensures IP protection.

Mobile application testing

M-eux Test installs as a plug-in for Eclipse. The scripts can be created by recording or programming or a mix of both. The user interface objects are stored as java classes. The intelli-sense of Eclipse can be used to create the script.

With the M-eux Test add-in loaded, Eclipse 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. This ensures:

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 is illustrated 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 Eclipse. The architecture allows the connection of multiple devices. One test script can execute against multiple devices.

Eclipse tutorial

This tutorial contains how to :

  • Perform a Learn GUI in Eclipse
  • Use the Resultmanager to log custom checkpoints in the report
  • Use the checkproperty function to log checkpoints in the report
  • Use the MeuxObjectPoolEditor
  • 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
  • Android 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
BlackBerry
  • BlackBerry OS 4.6, .47, 5.0 and 6.0
iOS
  • iOS 4.2.x, iOS 4.3.x and iOS 5.0 ( iPhone, iPad and iTouch)
Windows Mobile
  • Windows Mobile 2003 Pocket PC second edition
  • Windows Mobile 2005 Pocket PC
  • Windows Mobile 6.0, 6.1 and 6.5
  • Classic, Standard & Professional
Windows CE
  • Windows CE 5.0
  • Windows CE 6.0
  1. https://sbcnep.org/
  2. https://www.btsuk.org/
  3. https://www.jamosolutions.com/
  4. https://www.halifaxregional.org/
  5. https://www.chevallierlaspales.com/
  6. https://www.dome-restaurant.com/
  7. https://www.gc32worlds.com/
  8. https://www.thesamestreamchoir.com/
  9. https://www.maxhead.org/
  10. https://pmkisanstatus.org/
  11. https://www.saintspap.org/
  12. https://www.samuraisushihibachi.com/
  13. https://kraimoriebeach.com/
  14. https://recoverysociety.org/
  15. https://www.britishcouncilonline.org/
  1. PENGELUARAN MACAU HARI INI