QTP/UFT Mobile App Testing Tutorial

QTP or UFT (Unified Functional Testing) Tool is a software Testing tool used for Automation Testing process. It is especially used for “Regression” or “Functional” Testing. Some of the QTP features include

  • It runs only in a Windows environment
  • It uses “VB Script” as a scripting language
  • Depending on the version it supports different technologies (Web, Java, .Net, SAP,etc.)

Micro Focus UFT is the last version of QTP; it is a combination of both HP QTP + Service Test. It also supports open source CI (continuous integration) systems like Hudson and Jenkins. Understanding the requirement of phone and tablet, UFT provides an extended support for Mobile testing. With this HP UFT mobile support, it will be able to create mobile platform agnostic scripts. This script which has been developed on iOS can also work on Android.

For any automation tool, an automated testing process should go through the following process

Automation Testing

Mobile Testing with QTP

  • Feasibility analysis during automation:

    Before performing Automation Testing on software, it is essential to check whether the software can be automated or not

  • Suitable tool section process:

    Choose the automation tool based on the software requirement, usage and function

  • Select and develop the automation framework:

    After choosing the automation tool, the next step is to select a suitable framework for automation

  • Proof of concept:

    POC or Proof of Concept is established with an end to end setup to assess whether the tool can execute the automation of the application

  • Develop, run and analyze the test script:

    Once the script gets prepared, the scripts should go for execution, result in analysis and Defect logging.

Comparison-QTP vs. Other mobile testing tools

QTP & Cloud Testing Tools (DeviceAnywhere, Perfectiomobile) QTP & SeeTest Tool
Recorder NO YES
Security Limited Fully Secure
Availability Limited (Per hours ordered in advanced) Available at all times (device at the tester’s hands)
Run test from QTP YES YES
Edit test from QTP YES YES
Receive reports in QTP YES YES
Test real physical devices YES (Devices in a cloud-connected remotely) YES (All devices, all models)
Test proprietary hardware NO YES
Test Emulators NO YES
Coverage of tested mobile phones All including legacy devices Only Smartphones (Android, Blackberry, Symbian etc.)
A device is locally connected via USB NO (remote via cloud) YES

Various Mobile Testing Methods

  • Compatibility Testing: It verifies that the application works as expected with different screen sizes, internal hardware, resolutions etc.
  • Interoperability Testing: It checks various functionalities like sharing a conference, simple messaging, video messaging, call setup etc. on different mobile devices
  • Functionality Testing: It tests the operational aspects of mobile devices like storage media handling options, controls etc.
  • Usability Functionality: It includes application navigation testing, mobile interface testing, a color scheme of the application and so on
  • Performance Testing: It checks the stress and load capacity of the mobile devices
  • Localization and Internationalization Testing: This testing ensures that the device supports the internationalization and localization testing
  • Data exchange and synchronization Testing: It verifies that the device can sync perfectly with other devices like PCs, PDA’s and other mobile devices

Advantages of QTP or UFT for Mobile testing

  • Very simple and easy to use
  • Easy Scheduling and monitoring
  • Full help-desk support from HP
  • Uses VBScript language and easy to code compared to other object-oriented programming language