Test Android with QTP

Source: Internet
Author: User
Tags vcard

by Yaron Assa

I have recently come across a plug-in to QTP the enables to automate tests on Android. The plug-in is used to define the tests and then have code export to QTP, so, the actual work is mainly do in the QTP Framework.

We'll write more about SeeTest Plugin in the coming weeks, and might even offer exclusive deals for our users. As this plugin uses very advanced image processing automation, it can is adapted to extend QTP abilities in automating Sil Verlight, Flex, Flash, MFC custom controls, and more.

The pre-requisites for testing Androidis:

(1) Rooted Android device

(2) Download the plug-in–called SeeTest (http://experitest.com/download/)

You can then easily follow the connect instructions.

Once the device is connected, the plug-in works by capturing a screenshot of the Application–here the Android screen–a nd extracting graphical elements that is then used to write the script.

Then extract a graphical element–say the Call-log Icon–and give it a textual name (with our example "Calllog").

Now your switch to the Script Tab, and can write a command. Simply Select a command from the drop List–such as click (Element) –and Insert the Element name "Calllog".

That ' s it. You can now run the test by clicking on Play button, see a report by clicking in Report button And–most Importantly–ex Port the code to QTP and run the test from within QTP by clicking on Export Code button and copy-paste the code that APPEA RS to QTP (see below).

Test Android with QTP

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.