Qt的自动测试 [英] Qt automated testing

查看:590
本文介绍了Qt的自动测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<一个href=\"http://www.automatedqa.com/products/testcomplete/testing-qt-apps/\">http://www.automatedqa.com/products/testcomplete/testing-qt-apps/

如何将他们已经能够做到这一点?是否有一个Qt库的检查?标准窗口间谍工具在某些领域的工作,但其他重要领域(如列表视图列表项)不通过视察Windows消息。

How would they have been able to do that? Is there a Qt inspection library? Standard window spy tools work in some areas, but other important areas (such as list items in a list view) are not inspectable through Windows messages.

我知道有该QtTest框架,但我想的东西,可以访问应用程序作为一个整体,这样我可以有自动化集成测试。

I know there's the QtTest framework, but what I'd like is something that can access an application as a whole so that I can have automated integration testing.

推荐答案

找到了答案:的 http://www.ranorex.com/support/user-guide-20/qt-accessible-plugin.html

http://doc.qt.io/archives/4.3/accessible.html

究竟什么是需要自动化的UI。然后将与任何UI自动化软件,我现在已经学会了使用显然无障碍API工作。

Exactly what is needed to automate a UI. Will then work with any UI automation software, which I've now learned apparently uses the accessibility API.

这篇关于Qt的自动测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆