Qt自动化测试

 

以下是TIB自动化测试工作室为大家收集的支持Qt自动化测试的工具:

 

1、Squish for Qt

http://www.froglogic.com/products/squish/qt.php

  • Dedicated support for testing applications based on Nokia’s (prev. Trolltech) C++ Qt GUI toolkit
  • Windows only: Support for testing embedded native Windows controls (in combination with Squish for Windows)
  • Supports Qt versions 2.3, 3.x and 4.x
  • Works on all Windows, Linux, Unix and Mac OS X desktop and embedded platforms
  • Test scripts work cross-platform without changes
  • Dedicated support for all standard Qt controls
  • Dedicated support for all complex Qt controls (Item views, menus, tabs, etc.)
  • Dedicated support for QGraphicsView controls
  • Dedicated support for embedded QtWebKit (in combination with Squish/Web)
  • Support for custom controls derived from Qt controls
  • Extension plugin mechanism to add dedicated support for complex custom controls
  • Script access to the complete Qt APIs (beyond of what is available via slots and Q_PROPERTYs)
  • Script access to all slots and Q_PROPERTYs (also for custom controls)
  • IDL mechanism to allow accessing the complete C++ API of custom classes

支持Qt4.7

http://www.testertools.com/blog/qt-gui-test-automation-froglogic-squish-supports-qt-4-7/

 

 

2、TestComplete

TestComplete 8

TestComplete supports white-box testing of applications that use the Qt library ver. 4.6.0 and that were created with Microsoft Visual Studio .NET 2003, Microsoft Visual Studio 2005 or Microsoft Visual Studio 2008.
There are also special TestComplete modules that provide support for Qt ver. 4.4.3, 4.5.0 and 4.5.2. These modules cannot be used with the modules that provide support for Qt 4.6.0 They are not included into the TestComplete installation package. You can download them from our web site:

http://www.automatedqa.com/downloads/testcomplete/qt-modules/

The package to be downloaded contains detailed information on how to install these specific modules in TestComplete.

Also, note that TestComplete does not support applications that use the Qt library compiled for static linkage.

 

 

 

3、Ranorex

http://www.ranorex.com/support/user-guide-20/qt-accessible-plugin.html

The Ranorex Automation Framework fully supports test automation of Qt based applications. To ensure that Ranorex can access UI elements and properties in the Qt application, MSAA (Microsoft Active Accessibility) support for your Qt application must be enabled. This provides additional information on Qt UI elements to automation software like Ranorex and can be accomplished by shipping and loading the "Accessible Plug-in" included in the Qt SDK (Software Development Kit) with the Qt application under test

 

通过添加Accessibility实现自定义Qt控件的自动化:

http://www.ranorex.com/blog/enabling-automation-for-custom-qt-widgets-by-adding-accessibility 

 

 

 

4、TDriver

https://projects.forum.nokia.com/Testabilitydriver/wiki/introduction_to_tdriver 

 

Sources: http://gitorious.org/tdriver
Project: http://projects.forum.nokia.com/Testabilitydriver
MeeGo wiki: http://wiki.meego.com/TDriver

 

 

 

posted on 2010-11-02 10:21  TIB  阅读(10017)  评论(0编辑  收藏  举报

导航