Automating Test Automation

被引:0
|
作者
Thummalapenta, Suresh
Sinha, Saurabh
Singhania, Nimit
Chandra, Satish
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mention "test case", and it conjures up the image of a script or a program that exercises a system under test. In industrial practice, however, test cases often start out as steps described in natural language. These are essentially directions a human tester needs to follow to interact with an application, exercising a given scenario. Since tests need to be executed repeatedly, such manual tests then have to go through test automation to create scripts or programs out of them. Test automation can be expensive in programmer time. We describe a technique to automate test automation. The input to our technique is a sequence of steps written in natural language, and the output is a sequence of procedure calls with accompanying parameters that can drive the application without human intervention. The technique is based on looking at the natural language test steps as consisting of segments that describe actions on targets, except that there can be ambiguity in identifying segments, in identifying the action in a segment, as well as in the specification of the target of the action. The technique resolves this ambiguity by backtracking, until it can synthesize a successful sequence of calls. We present an evaluation of our technique on professionally created manual test cases for two open-source web applications as well as a proprietary enterprise application. Our technique could automate over 82% of the steps contained in these test cases with no human intervention, indicating that the technique can reduce the cost of test automation quite effectively.
引用
收藏
页码:881 / 891
页数:11
相关论文
共 50 条
  • [1] Automating test automation
    Pietschker A.
    International Journal on Software Tools for Technology Transfer, 2008, 10 (04) : 291 - 295
  • [2] Clustering Test Steps in Natural Language toward Automating Test Automation
    Li, Linyi
    Li, Zhenwen
    Zhang, Weijie
    Zhou, Jun
    Wang, Pengcheng
    Wu, Jing
    He, Guanghua
    Zeng, Xia
    Deng, Yuetang
    Xie, Tao
    PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 1285 - 1295
  • [3] AUTOMATING AUTOMATION
    SNYDERS, J
    INFOSYSTEMS, 1985, 32 (09): : 64 - 64
  • [4] AUTOMATING AUTOMATION
    BELTRAMINI, A
    MAIOCCHI, M
    ELETTROTECNICA, 1988, 75 (04): : 323 - 328
  • [5] CHALLANGE OF AUTOMATION - AUTOMATING PLANT
    HAUCK, JE
    MODERN PLASTICS, 1971, 48 (10): : 111 - &
  • [6] Automating checks of plan check automation
    Halabi, Tarek
    Lu, Hsiao-Ming
    JOURNAL OF APPLIED CLINICAL MEDICAL PHYSICS, 2014, 15 (04): : 392 - 399
  • [7] AUTOMATING AUTOMATION SYSTEM-DESIGN
    BOULT, R
    CONTROL ENGINEERING, 1992, 39 (10) : 15 - 15
  • [8] De-Automating Capitalist Automation
    Sebastian-Martin, Miguel
    SCIENCE-FICTION STUDIES, 2022, 49 : 191 - 195
  • [9] Automating the pen test
    Comput. Fraud Secur., 2009, 5 (13-14):
  • [10] Automating Morals - On the Morality of Automation Technology, Ironies of Automation and Responsible Research and Innovation
    Herzog, Christian
    Hoffmann, ne
    IFAC PAPERSONLINE, 2020, 53 (02): : 17457 - 17462