Citation: | CHEN Juncheng, DING Zhiming. Automated GUI Testing Based on Extended Place/Transition System[J]. Journal of Beijing University of Technology, 2017, 43(6): 883-888. DOI: 10.11936/bjutxb2016060040 |
To solve the problem of huge graphic user iuterface (GUI) elements’ states and complicate combination of user operation, a GUI test model based on extended place/transition system for specific GUI software was proposed. In the model, places represented type of user operation, and transitions represented user operation. Based on the model, three GUI test coverage criteria, were designed and test coverage based on places, test coverage based on transitions and test coverage based on transition-pairs, were put forward. The differences between the last and event-pair coverage was analyzed. The related test generation algorithm was designed. Experiment result of calculation shows that the transition-pair coverage has the same effectiveness in fault finding as the event-pair coverage, but the number of generation test suits is only about 40%.
[1] |
ATIF MM.An event-flow model of GUI-based applications for testing[J].Software Testing, Verification & Reliability,2007,17(3):137-157.
|
[2] |
LEEW,HUSAINA,NASSERA.User-based testing of GUI sequences and their interactions[C]∥ISSRE'01. Proceeding of the 12th International Symposium on Software Reliability Engineering. Washington, DC: IEEE Computer Society,2001:54-63. |
[3] |
LEEW,ALMEZENH,SASTRYS.Firewall regression testing of GUI sequences and their interactions[C]∥ICSM 2003. Proceedings of International Conference on Software Maintenance. Washington, DC: IEEE Computer Society,2003:398-409. |
[4] |
ATIF MM.A comprehensive framework for testing graphical user interfaces[D].Pittsburgh: University of Pittsburgh,2001.
|
[5] |
XUNY.Feedback-directed model-based GUI test case generation[D].Park: University of Maryland,2008.
|
[6] |
MARLONV,JOHANNEL,BILLH.Automation of GUI testing using a model-driven approach[C]∥Proc. of the 2006 International Workshop on Automation of Software Test. New York: ACM,2006:9-14.
|
[7] |
钱思佑,蒋凡,刘铮铮.基于事件-状态关联关系的GUI测试评判信息生成[J].中国科学技术大学学报,2011,41(4):324-331.
QIAN SY,JIANGF,LIU ZZ.GUI test oracle generation based on event-state correlation[J].Journal of University of Science and Technology China,2011,41(4):324-331. (in Chinese)
|
[8] |
陈军成,薛云志,赵琛.一种基于事件处理函数的GUI测试方法[J].软件学报,2013,24(12):2830-2842.
CHEN JC,XUE YZ,ZHAOC.A GUI test approach based on event-handler functions[J].Journal of Sofware,2013,24(12):2830-2842. (in Chinese)
|
[9] |
REISIGW.Petri nets: an introduction[M].Berlin: Springer-Verlag,1982:1-92.
|
[10] |
AMMANNP,OFFUTTJ.Introduction to software testing[M].Cambridge:Cambridge University Press,2008:36-96.
|
[1] | LIU Liangkun, TAN Ping, CHEN Yangyang, YAN Weiming, ZHOU Fulin. Strongly Modulated Response Analysis of Nonlinear Energy Sink Absorption System Under Ground Harmonic Excitation[J]. Journal of Beijing University of Technology, 2019, 45(2): 177-185. DOI: 10.11936/bjutxb2017090043 |
[2] | AN Haichao, YANG Renfeng, YANG Bo, XU Biao. Nonlinear Deviation Correction of Fiber Feeding Machine Based on LabVIEW[J]. Journal of Beijing University of Technology, 2016, 42(11): 1713-1719. DOI: 10.11936/bjutxb2016030063 |
[3] | LI Ping, JIN Fu-jiang, MEI Xiao-hua. Adaptive Fuzzy Tracking Control for Unknown Nonaffine Nonlinear Systems With Delay[J]. Journal of Beijing University of Technology, 2014, 40(9): 1315-1320,1326. |
[4] | WU Bin, LI Jia-rui, YAN Bing-sheng, HE Cun-fu. Ultrasonic Nonlinear Coefficient Measurement and Optical Observation of LY12 Aluminum Alloy at Early Degradation Stages[J]. Journal of Beijing University of Technology, 2012, 38(1): 22-27. |
[5] | TANG Jie, SHI Zhao-yao. Reverse Calculation of the Parameters of Involutes and Its Application[J]. Journal of Beijing University of Technology, 2009, 35(1): 8-12. |
[6] | BAI Zheng-xian, LIU Xi-liang. Geometrically Nonlinear Analysis on the Beam String Structure Composed of Membrane[J]. Journal of Beijing University of Technology, 2002, 28(1): 22-25. |
[7] | TU Cheng-yuan. Knowledge-based Variable-Structure Decoupling Control of A Nonlinear Multivariable System[J]. Journal of Beijing University of Technology, 2001, 27(4): 447-450. |
[8] | LIU Zhao-miao, WANG Qin-meng. Nonlinear Analysis of Two-variable Exothermic Chemical Reaction Model with Linear Heat Feedback Equipment[J]. Journal of Beijing University of Technology, 2001, 27(4): 406-411. |
[9] | Zhang Zhigang, Xu Min. Semiconductor Saturable Absorber Mirrors and Their Applications in Self-starting Femtosecond Solid State Lasers[J]. Journal of Beijing University of Technology, 1999, 25(4): 83-93. |
[10] | Zhu Meifang. Generalization of Nonlinear ABS Algorithm and Its Convergence Properties[J]. Journal of Beijing University of Technology, 1989, 15(4): 21-26. |