arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.09455cs.SE
收藏

像人类一样测试软件的机器

Machines that test Software like Humans

Anurag Dwarakanath, Neville Dubash, Sanjay Podder

摘要:

自动化的软件测试包括由机器执行测试脚本,而不是手动运行。这大大减少了所需的手动时间和工作量,因此对软件测试行业非常感兴趣。已经开发了各种工具来自动化测试Web应用程序(例如Selenium WebDriver);然而,测试自动化的实际应用仍然很少。这是由于创建和维护自动化脚本的复杂性。现有方法的关键问题是自动化测试脚本需要被测应用(AUT)的某些实现细节(例如,web元素的html代码或web元素的图像)。另一方面,如果我们看一下手工测试的方式,测试人员解释文本测试脚本,并纯粹基于他通过GUI视觉感知的内容与AUT交互。在本文中,我们提出了一种方法来建立一个机器,可以模仿人类的行为,软件测试使用计算机视觉的最新进展。我们还提出了四个用例,说明这种方法如何显着推进测试自动化空间,使测试自动化足够简单,可以实际采用。

英文摘要:

Automated software testing involves the execution of test scripts by a machine instead of being manually run. This significantly reduces the amount of manual time & effort needed and thus is of great interest to the software testing industry. There have been various tools developed to automate the testing of web applications (e.g. Selenium WebDriver); however, the practical adoption of test automation is still miniscule. This is due to the complexity of creating and maintaining automation scripts. The key problem with the existing methods is that the automation test scripts require certain implementation specifics of the Application Under Test (AUT) (e.g. the html code of a web element, or an image of a web element). On the other hand, if we look at the way manual testing is done, the tester interprets the textual test scripts and interacts with the AUT purely based on what he perceives visually through the GUI. In this paper, we present an approach to build a machine that can mimic human behavior for software testing using recent advances in Computer Vision. We also present four use-cases of how this approach can significantly advance the test automation space making test automation simple enough to be adopted practically.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑