Design and analysis of GUI test-case prioritization using weight-based methods

  • Authors:
  • Chin-Yu Huang;Jun-Ru Chang;Yung-Hsin Chang

  • Affiliations:
  • Department of Computer Science, National Tsing Hua University, Hsinchu, Taiwan and Institute of Information Systems and Applications, National Tsing Hua University, Hsinchu, Taiwan;Institute of Information Systems and Applications, National Tsing Hua University, Hsinchu, Taiwan;Software R&D Department, ASUSTeK Computer Inc., Taipei, Taiwan

  • Venue:
  • Journal of Systems and Software
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Testing the correctness of a GUI-based application is more complex than the conventional code-based application. In addition to testing the underlying codes of the GUI application, the space of possible combinations of events with a large GUI-input sequence also requires creating numerous test cases to confirm the adequacy of the GUI testing. Running all GUI test cases and then fixing all found bugs may be time-consuming and delaying the project completion. Hence, it is important to advance the test cases that uncover the most faults as fast as possible in the testing process. Test-case prioritization has been proposed and used in recent years because it can improve the rate of fault detection during the testing phase. However, few studies have discussed the problem of GUI test-case prioritization. In this paper, we propose a weighted-event flow graph for solving the non-weighted GUI test case and ranking GUI test cases based on weight scores. The weighted scores can either be ranked from high to low or be ordered by dynamic adjusted scores. Finally, three experiments are performed, and experimental results show that the adjusted-weight method can obtain a better fault-detection rate.