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 自动化测试


- Stroustrup 的 Simple_window.h 2022-01-01
- 与 int by int 相比,为什么执行 float by float 矩阵乘法更快? 2021-01-01
- STL 中有 dereference_iterator 吗? 2022-01-01
- 如何对自定义类的向量使用std::find()? 2022-11-07
- 使用/clr 时出现 LNK2022 错误 2022-01-01
- C++ 协变模板 2021-01-01
- 近似搜索的工作原理 2021-01-01
- 从python回调到c++的选项 2022-11-16
- 静态初始化顺序失败 2022-01-01
- 一起使用 MPI 和 OpenCV 时出现分段错误 2022-01-01