本文介绍了如何在GUI测试工具PyUseCase比较Dogtail?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何进行GUI测试工具重命名为。比较?

How does the GUI testing tool PyUseCase renamed to StoryText. compare to Dogtail?

我想从谁在使用这两种希望经验的人听的。

I want to hear from people who have hopefully experience in using both.

有兴趣:


  • 测试code的Maintainabilty

  • 对他们真正的GUI的?
  • 如何工作

推荐答案

首先:我PyUseCase的作者,我没有做更多的比Dogtail玩...

Firstly: I'm the author of PyUseCase and I haven't done more than play around with Dogtail...

的工具是在若干方面的不同。

The tools are different in a number of respects.


  • Dogtail通过在Linux的Gnome下的辅助接口工作,而PyUseCase通过GUI工具包(PyGTK的,Tkinter的,SWT / Eclipse在当前版本中,加上即将即将到来的新版本的Swing)

  • Dogtail works via the accessibility interface under Gnome on Linux, while PyUseCase operates via GUI toolkits (PyGTK, Tkinter, SWT/Eclipse in the current release, plus Swing from the soon-forthcoming new release)

PyUseCase试图很难被非程序员使用。 UI操作在一个用户定义的域语言定义,断言通过生成和比较纯文本的描述取代。它还包含一个记录。

PyUseCase tries very hard to be usable by non-programmers. UI actions are defined in a user-defined domain language, assertions are replaced by generating and comparing plain text descriptions. It also contains a recorder.

Dogtail是一个用传统的编写Python code,调用的API,可以断言关于你得到什么东西,如果你已经习惯了编程和单元测试模式,可能更熟悉的方式来做事。

Dogtail is a more traditional "write Python code, call APIs, assert things about what you get back" paradigm, likely a more familiar way to do things if you're used to programming and unit testing.

PyUseCase力图使它很容易改变测试集体当GUI变化。测试code是超级维护,因为没有任何:)你得到一个UI映射文件,而不是这仅仅是定义。

PyUseCase tries hard to make it very easy to change the tests en masse when the GUI changes. The testing code is super-maintainable, because there isn't any :) You get a "UI map file" instead which is just definitions.

最后,我不知道Dogtail活跃程度。最后一次我看到好像上次提交是在2009年,但外表可以欺骗......如果你想要像Dogtail,我建议考虑看看在Linux桌面测试项目(LDTP),这是一个pretty类似的概念,但似乎更积极的一个好一点。

Lastly, I'm not sure how active Dogtail is. Last time I looked it seems the last commit was in 2009, but appearances can deceive... If you want something like Dogtail, I'd suggest taking a look at the Linux Desktop Testing Project (LDTP) which is a pretty similar concept but seems a good bit more active.

PyUseCase是无论如何活跃,给我们两个做这个工作,全职调。它的工作原理pretty以及上的我们的真正的图形用户界面,但其成熟度不同的工具包之间。

PyUseCase is in any case active, to the tune of two of us working on it full time. It works pretty well on our real GUIs, but its maturity varies between the different toolkits.

这篇关于如何在GUI测试工具PyUseCase比较Dogtail?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-10 11:52