Qt automated testing(Qt 自动化测试)
问题描述
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 自动化测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Qt 自动化测试


基础教程推荐
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 这个宏可以转换成函数吗? 2022-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 常量变量在标题中不起作用 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09