Web功能自动化测试工具CubicTest
2012-04-29金名言
金名言
摘要:该文简要介绍了CubicTest作为最简单的网页功能自动化测试解决方案之一,通过与功能更全的QTP比较来突出其优点与缺点。使用开放源码软件来替代QTP的知识,在为客户提供咨询时十分有用。最后,提供了一个开发的框架,以补充CubicTest和Selenium所不能提供的功能。这里还有很多可提高的余地,感谢那些来自论坛的优秀的软件架构师的贡献。
关键词:Web功能自动化测试;CubicTest;Selenium;QucikTest Professional
中图分类号:TP393文献标识码:A文章编号:1009-3044(2012)09-2115-04
Functional Web Testing Automation with CubicTest
JIN Ming-yan
(Tongji University, Shanghai 200092, China)
Abstract: This paper briefly introduced CubicTest as one of the easiest solutions to automate functional web testing and emphasized its strength and weakness by comparing a more fully featured HP Mercury QuickTest Professional. Knowledge of open source alternative to QTP will be useful when serving customer as consultants. Lastly, I provided an overview of the framework I developed to supplement the feature CubicTest and Selenium do not provide. There is still much room for enhancement and I will appreciate contribution from talented software architects in the community.
Key words: functional Web testing automation; CubicTest ; Selenium; QuickTest Professional
当前没有一个作为行业标准的网页功能自动化测试工具能像JUnit那样做为Java应用程序的单元测试标准。即使像Quick Test Professional(QTP,下文同)往往作为第一选择,但也因为其是一个昂贵的商业工具,所以只能是有限的使用。在我们的“测试工具箱”中,一定会有一个更方便、更容易获得的替代方法。CubicTest[1]就是这样的一个易于使用的开放源码网页功能自动化测试工具。该文主要给出了在一个探索性的项目中,对使用CubicTest和QTP的评估中的一些发现。还介绍一个我小型框架,用以对CubicTest的一些扩展和功能补充。该文还把一部分重点放在了其他CubicTest使用者对此工具的反馈,并且概述了如何在实践中对它的利用。还为提供了一些有用的信息给那些使用自动化工具为客户提供测试的顾问,或者那些网页开发人员。
1为何选用CubicTest
Opensourcetesting.org[2]网站曾经编撰过一份公开源码的功能测试工具名单。在名单中,我试图寻找一个网页测试工具,能够使我不必编写代买来执行测试用例还能确保测试用例都是自我描述且直观容易理解。……
