Improving Automated GUI Testing by Learning to Avoid Infeasible Tests

被引:3
|
作者
Walkinshaw, Neil [1 ]
机构
[1] Univ Sheffield, Dept Comp Sci, Sheffield, S Yorkshire, England
关键词
MODEL;
D O I
10.1109/AITEST49225.2020.00023
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Most modern end-user software applications are controlled through a graphical user interface (GUI). When it comes to automated test selection, however, GUIs present two major challenges: (1) It is difficult to automatically identify feasible, non-trivial sequences of GUI interactions (test cases), and (2) each attempt at a test case execution can take a long time, eliminating the possibility of rapidly attempting large numbers of alternatives. In this paper we present an iterative approach that infers state-machine models from previous test executions, and increases the utility of tests by learning which sequences to avoid. The approach is evaluated on a selection of Java applications, and the results indicate that our approach is successful at achieving higher code coverage and longer sequences than the state of the art, albeit with a time-overhead caused by the repeated invocation of a Machine Learner.
引用
收藏
页码:107 / 114
页数:8
相关论文
共 50 条
  • [1] Improving the Accuracy of Automated GUI Testing for Embedded Systems
    Lin, Ying-Dar
    Chu, Edward T. -H.
    Yu, Shang-Che
    Lai, Yuan-Cheng
    [J]. IEEE SOFTWARE, 2014, 31 (01) : 39 - 45
  • [2] Automated GUI performance testing
    Adamoli, Andrea
    Zaparanuks, Dmitrijs
    Jovic, Milan
    Hauswirth, Matthias
    [J]. SOFTWARE QUALITY JOURNAL, 2011, 19 (04) : 801 - 839
  • [3] Automated GUI performance testing
    Andrea Adamoli
    Dmitrijs Zaparanuks
    Milan Jovic
    Matthias Hauswirth
    [J]. Software Quality Journal, 2011, 19 : 801 - 839
  • [4] Automated GUI performance testing
    Via Giuseppe Buffi 13, 6904 Lugano, Switzerland
    [J]. Softw. Qual. J., 4 (801-839):
  • [5] Machine Learning and Event-Based Software Testing: Classifiers for Identifying Infeasible GUI Event Sequences
    Gove, Robert
    Faytong, Jorge
    [J]. ADVANCES IN COMPUTERS, VOL 86, 2012, 86 : 109 - 135
  • [6] Automated Extraction of GUI Models for Testing
    Aho, Pekka
    Kanstren, Teemu
    Raty, Tomi
    Roning, Juha
    [J]. ADVANCES IN COMPUTERS, VOL 95, 2014, 95 : 49 - 112
  • [7] Transformers for GUI Testing: A Plausible Solution to Automated Test Case Generation and Flaky Tests
    Khaliq, Zubair
    Farooq, Sheikh Umar
    Khan, Dawood Ashraf
    [J]. COMPUTER, 2022, 55 (03) : 64 - 73
  • [8] Automated GUI Testing for Android News Applications
    Chu, Edward T. -H.
    Lin, Jun-Yan
    [J]. 2018 INTERNATIONAL SYMPOSIUM ON COMPUTER, CONSUMER AND CONTROL (IS3C 2018), 2018, : 14 - 17
  • [9] Automated testing of SAS® system GUI applications
    Chisholm, L
    [J]. PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SAS USERS GROUP INTERNATIONAL CONFERENCE, 1997, : 48 - 52
  • [10] Automated Testing of GUI Based Communication Elements
    Nica, Andreea
    Balan, Alexandra
    Zaharia, Corneliu
    Balan, Titus
    [J]. ONLINE ENGINEERING AND SOCIETY 4.0, 2022, 298 : 380 - 390