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

We will 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 be adapted to extend QTP abilities in automating SilverLight, Flex, Flash, MFC custom controls, and more.

The pre-requisites for testing Android are:

(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 – and extracting graphical elements that are then used to write the script.

Then extract a graphical element – say the call-log icon – and give it a textual name (in our example “CallLog”).

Now you switch to the Script Tab, and can write a command. Simply select a command from the drop down 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 on Report button and – most importantly – export the code to QTP and run the test from within QTP by clicking on Export Code button and copy-paste the code that appears into QTP (see below).

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android中statfs使用注意事项
  2. Android禁止横屏竖屏切换的有效方法
  3. Android(安卓)中使用自定义字体的方法
  4. Android(安卓)- 安卓报错Error:Could not
  5. 每次吃一点Androidの小知识
  6. Android菜单(Menu) - 4
  7. 优秀的网页文章
  8. Androidの自定义圆角按钮button
  9. 在应用层的横竖屏切换
  10. android studio 生成 jniLibs 目录