Newsletter | Advertise | App Shop | CONTACT | Twitter | LinkedIn
     
Sunday, February 12 2012  
Welcome to SymbianOne - symbian OS, UIQ, meego, Qt, series 60 programers, S60, wireless developers, device makers, and mobile industry architects



Home arrow Articles arrow TestQuest Pro Testing Automation
HomeNewsJobsArticlesApp ReviewsDirectoryMagsAboutLBSEVENTSDevices
Give SymbianOne a Like on facebook
Free IT Wireless / RCR Wireless News / Total Telecom / Symbian Search / AnyGeo Blog / Twitter
Connect

SymbianOne - symbian S60, UIQ and mobile tech news

↑ Grab this Headline Animator

E-Newsletter

Symbian newsletter
 Subscribe to the free SymbianOne Monitor Newsletter
SymbianOne in Ovi store

Site Sponsor

spatial media tech publications 

Cool Videos


Useful Stuff!

Getting Started with Internet Explorer Mobile
Getting Started with Internet Explorer Mobile


The Enterprise Goes Mobile

 

Mobile Tech Reviews

Symbian Software Reviews 

Main Menu
Home
News
Jobs
Articles
App Reviews
Directory
Mags
About
LBS
EVENTS
Devices

Social Bookmark
GISuser facebook group

gisuser on twitter 


 

 

Need A Wireless Developer?... Post Your Free Job Listing in our Career Center Today!
TestQuest Pro Testing Automation Print E-mail
Written by SymbianOne   
Tuesday, 09 December 2003
Originally designed for hardware based testing, TestQuest has made significant changes recently to address a broader testing market with the introduction of software interfaces. In this feature SymbianOne puts TestQuest Pro through its paces and talks to Don Leick about TestQuest?s future direction. (December 9, 2003)

TestQuest provides test automation solutions to the embedded systems market, covering wireless, PDA, TV/set-top boxes as well as PCs and servers. The original solution for phones and PDAs relied on hardware interfaces that drive the device under test and capture the results by direct interaction with the hardware. While this solution provides the best possible replication of a user interacting with a device it also requires either a hardware board or dedicated device so that the necessary electrical contacts can be made. This solution is appropriate for Hardware Vendors and operators but it restricted the appeal of TestQuest Pro to third party developers who might not wish to dedicate a device or devices to testing.

TestQuest have addressed this limitation with the release of software based interfaces for several platforms including Symbian OS. "The software interface provides versatility both for third party developers as well as for manufacturers and carriers," said Don Leick Product Marketing Manager for TestQuest. "It allows plug-and-play-style test connectivity, with only a small executable needing to be loaded on the device. Whereas the hardware interface, while being extremely functional and placing no software on the handset, requires the customer to send us the phone which we instrument to work with TestQuest Pro."

TestQuest Pro

TestQuest Pro consists of three main modules, Script Recorder, Test Information Manager and Test Execution Director, which together allow tests to be created, aggregated into test suites and executed.

Script Recorder

Script recorder is the heart of TestQuest Pro. It allows test scripts to be created by recording keystrokes (although tests can be created by editing test scripts directly) and defining verifications.

Setting up the TestQuest Pro software interface for use with a Series 60 device is simply a matter of loading and activating the TestQuest Pro agent on the phone. This involves the installation of 4 small utilities, which can be installed on the phone’s memory card and utilize about 40Kb of memory when running. The version of TestQuest Pro we had available (V5.0) provided for a connection over InfraRed and RS-232; the latest version can also utilize Bluetooth.

TQPro <a id='auto-Series+60-2' href=Series 60 Agent" src="http://www.symbianone.com/features/testquest_1203/images/TQPro%207650%20Agent.jpg" width=176 border=0>

With the TQPro Agent installed and activated the Series 60 phone, in our case a Nokia 3650, is ready to connect to TestQuest Pro on a PC. TestQuest Pro sends keystroke commands to the agent which executes them and then sends back screen shots on demand. This means all the test control and validation work is done by TestQuest Pro on the PC.

Scripts are created within Script Recorder by either recording actions using a simulated 3650 keypad, and screen capture utility, or by editing a script directly. TestQuest Pro’s scripting language is C.

Recording New Script

Scripts can be executed on the device while they are being recorded, or the keystrokes simply added to the script, it is also possible to drive the phone without recording the keystrokes. As the scripts are recorded the screen capture utility offers options to create verification which:

  • Compare a bitmap with part or all of the current screen
  • Test to find out whether a bit map appears in the current screen
  • Test to determine whether a specific test string appears on the current screen, using Intelligent Text Recognition (ITR).

Our impression of Script Recorder is very positive, it hooked up and drove the Nokia 3650 easily and the recording and validation worked well, with simple bitmap and text validations being both easy to create and working accurately when tests were run.

For more advanced script development TestQuest Pro also provides a number of debugging features, similar to those you would expect in any Integrated Development Environment.

Test Information Manager

Testing usually involves the creation and execution of multiple scripts. The Test Information Manager (TIM) is a module of TestQuest Pro which allows testers to build up test suites out of individual scripts. Tests are organized into a hierarchical framework of projects, suites and then individual scripts which can then be executed as a batch.

Test Information Manager

Test Execution Director

Test Frameworks created in TIM are run by the Test Execution Driver (TED). TED also has capabilities for running individual scripts, batches of scripts or DLLs (compiled from a script).

Test Execution Director

Test results are recorded in log files and more structured reports on the outcomes of tests are produced by TIM.


One of TestQuest Pro’s strengths is its ability to work with multiple platforms. "Most commercial mobile developers are not just developing for a single OS," commented Don. "With TestQuest Pro they have a tool which allows them to test applications running on Windows Mobile, Symbian OS, and other platforms."

However while TestQuest Pro is able to run tests across multiple platforms using the standard Script Recorder developers would be required to create unique scripts for each platform. This is where Test Verb Technology (TVT) comes in. TVT is an architecture and methodology for the production and maintenance of scripts within TestQuest Pro. TVT provides a layer of abstraction between the low level script and "test verbs" (commands). A typical TVT test might read as follows:

    TEST_CASE_START("Default System");

    SET_POWER(ON);

    NAVIGATE_TO("ADDRESS_BOOK");

    ADD_CONTACT("Joe Smith")

    ……………..

Rather than the C script for a similar action which could read:

    bt_KeypadKeysOf("SymbianTarget", "‹HangUp›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹Home›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹RightArrow›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹OK›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹LeftSelect›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹DownArrow›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹DownArrow›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹DownArrow›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹OK›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "5", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "666", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "33", 0, 0);

    bt_Sleep( 500 );

    bt_KeypadKeysOf("SymbianTarget", "‹DownArrow›", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "7777", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "6", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "444", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "8", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "44", 0, 0);

    bt_KeypadKeysOf("SymbianTarget", "‹RightSelect›", 0, 0);

TVT has several advantages over vanilla scripts. They are device independent which means tests can be scripted once and run across multiple platforms. Even if the application’s implementation differs across multiple platforms it is possible for these differences to be abstracted in TVT. Tests are also easier to create and maintain as they are written in a way which is similar to natural language, which means they are easier to understand but also involve fewer lines of code which reduces the scope of any maintenance effort. Finally they also open script creation up to domain experts who may not be C programmers and therefore would struggle developing low level scripts. This final benefit is significant both because of the relative scarcity of good C developers but also due to the fact that domain experts are often much more effective at creating tests.

For Symbian OS application testing TestQuest has two main challengers, Digia’s Quality Kit and Mobile Innovation’s TRY. Both of these are Symbian OS specific test tools and run resident on the devices (or within the emulator). TestQuest Pro has several advantages over these tools. In addition to the ability to drive tests on multiple platforms, it has a low resource footprint on a device. "It’s really important to maintain the fidelity of tests on these devices," commented Don. "You want to ensure that you are using the minimum of memory and processor capacity, so that you do not change the behavior of the software you are testing. Executing off device is much better from a test fidelity standpoint." TQPro Agent certainly achieves this as we were able to use it to drive and capture screen shots of a Web application displaying complex graphics.

Our test of TestQuest Pro has been quite limited; it is a comprehensive testing product and we only scratched the surface of its capabilities. However we found it to be both effective and easy to use. Building scripts, creating test suites and analyzing the results was straightforward and the verifications, which relied on fuzzy technology, matching bit maps and text patterns, seemed to work well yielding no noticeable false results. TVT was not included in the software we had to test so we are unable to comment on how it works in practice but if it has inherited its quality from TestQuest Pro it should live up to its paper specification.

TestQuest Pro currently has software interfaces for Series 60, Pocket PC/Smartphone/WinCE and UTS (Qualcomm CDMA phones). A software interface for UIQ is in development and should be shipped early 2004. Support for Series 90 will also be added.

TestQuest Pro starts at US $12,500 for a license with the Symbian OS interface, with TVT starting at US $2,500.

Web:www.testquest.com

Last Updated ( Monday, 23 February 2004 )
 


Share

Submit Your Mobile Tech News




Social Media Strategies

Social Media Strategy Workbook: This Workbook will help you to define your goals and audiences and to decide on the channels that make the most sense for you. Ready to figure out what social media means for you and your own organization? This Social Media Planning Workbook will help you to define your goals and audiences and to brainstorm the channels that make the most sense for you.  

Social Media Marketing: How to Build a Socially Armed Team: It's not only the responsibility of the marketing department to engage customers anymore, it's the entire organizations responsibility, and social media has made consumers even more accessible.

Social Media Marketing: 12 Essential Tips for Success: With all the hype surrounding social media and consumer–generated content, marketers need clear and simple information to make sense of this new and powerful trend. 

Contribute to the SymbianOne Symbian Search!

SymbianOne Sponsored Links and Events

     LBSZone.com - for developers interested in mobile location-based services
    Geospatial & LBS News - Stay abreast of geospatial technologies with daily updates

    See Your Message Here

    Featured Symbian Career

    Featured Careers...

      Post your Symbian Career Ad for free at SymbianOne!



      Syndicate


      WINKsite
      add to google reader
      Subscribe in NewsGator Online
      SymbianOne Feedster
      Technocrati
      SymbianOne Bloglines
      AvantGo

      SymbianOne on AvantGo!
      Get Daily Updates!


      SymbianOne FeedBlitz

      Popular Stuff!

      Must Read Articles
    • Top Symbian Features and Spotlights at SymbianOne for 2008
    • Lightning Notes from Symbian Partner Event 08
    • Symmetric Multiprocessing A Developer Support Perspective on the Symbian Foundation
    • The Platform Promise: S60 Devices From Samsung 
    • Tools & SDKs
    • Five reasons to develop for Sony Ericsson UIQ 3-based phones
    • UIQ Tips, Tricks, and Code
    • UIQ 3 Docs and Tools
    • UIQ 3 SDK Download
    • Developer Tools in the news
    • tools and Tips for LBS developers


    • NewsFeeds


      Symbian one RSS feed Add the SymbianOne RSS feed to your reader 

      Get daily email updates:


      by FeedBurner

       


       

      Top of 

Page

      (c)2003 - 2008, SymbianOne - All rights reserved