QT UI测试的最佳方法 [英] Best approach to QT UI testing
问题描述
我有一个QT应用程序与另一个菜单中的一堆菜单。每个菜单列表项,当选择时显示不同的形式。我想创建另一个应用程序,将测试这个QT应用程序的菜单,如果所选择的所有菜单项工作,并显示他们应该显示的形式。
I have a QT application with a bunch of menu within another menu. Each menu list item, when selected shows different forms. I would like to create another application that would test this QT application's menu if all the menu item selected are working and are showing the forms they're supposed to show.
我是QT的初学者,所以任何帮助,什么是最好的方法将非常感谢。
I'm a beginner in QT, so any help as to what would be the best approach would be much appreciated.
感谢...
推荐答案
在github中的此项目 http://pedromateo.github.io/openhmitester/
find the last version of this project in github http://pedromateo.github.io/openhmitester/
您可以使用OpenHMITester(OHT),这是一个开源的GUI测试工具,遵循开放式架构,描述基于GUI事件的非侵入式捕获/重放工具。它被实现为在Qt中使用;然而,它可以适于支持在测试环境中使用的不同的加窗系统和操作系统。
You can use OpenHMITester (OHT), that is an open-source GUI Testing tool following an open architecture that describes a non intrusive capture/replay tool based on GUI Events. It was implemented to be used in Qt; however, it may be adapted to support different windowing systems and operating systems used in the testing environment.
有关详情,请访问 http:// www.catedrasaes.org/wiki/OHT
这篇关于QT UI测试的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!