Apply ant colony to event-flow model for graphical user interface test case generation
Apply ant colony to event-flow model for graphical user interface test case generation
- Author(s): Y. Huang and L. Lu
- DOI: 10.1049/iet-sen.2011.0012
For access to this article, please select a purchase option:
Buy article PDF
Buy Knowledge Pack
IET members benefit from discounts to all IET publications and free access to E&T Magazine. If you are an IET member, log in to your account and the discounts will automatically be applied.
Thank you
Your recommendation has been sent to your librarian.
- Author(s): Y. Huang 1 and L. Lu 1
-
-
View affiliations
-
Affiliations:
1: Department of Computer Science and Engineering, South China University of Technology, Guangzhou, People's Republic of China
-
Affiliations:
1: Department of Computer Science and Engineering, South China University of Technology, Guangzhou, People's Republic of China
- Source:
Volume 6, Issue 1,
February 2012,
p.
50 – 60
DOI: 10.1049/iet-sen.2011.0012 , Print ISSN 1751-8806, Online ISSN 1751-8814
Aimed at the complex and inefficient testing issues of graphical user interface (GUI) software, this study describes an automatic framework for GUI test case generation. The framework includes a reverse engineering of executive GUI to create GUI information and event-flow model. According to these information and model, an ant colony algorithm is applied to generate test cases. The study shows that by identifying valid event interactions, the generated test cases are capable of finding deep faults without infeasible problems; the configuration of different parameters for ant colony and the good design of the proposed framework provide flexible interfaces to control test suites.
Inspec keywords: reverse engineering; program testing; ant colony optimisation; graphical user interfaces
Other keywords:
Subjects: Graphical user interfaces; Diagnostic, testing, debugging and evaluating systems; Optimisation techniques
References
-
-
1)
- X. Yuan , A. Memon . Generating event sequence-based test cases using GUI run-time state feedback. IEEE Trans. Softw. Eng. , 1 , 81 - 95
-
2)
- Yuan, X., Cohen, M.B., Memon, A.: `Covering array sampling of input event sequences for automated GUI Testing', Proc. 22nd IEEE Int. Conf. on Automated Software Engineering, 2007, Washington, DC, USA, p. 405–408.
-
3)
- A. Memon , M.E. Pollack , M.L. Soffa . Hierarchical GUI test case generation using automated planning. IEEE Trans. Softw. Eng. , 2 , 144 - 155
-
4)
- White, L., Almezen, H.: `Generating test cases for GUI resposibilities using complete interaction sequences', Proc. Int. Symp. on Software Reliability Engineering, 8–11 October 2000, Piscataway, NJ, p. 110–121.
-
5)
- Q. Xie , A. Memon . Using a pilot study to derive a GUI model for automated testing. ACM Trans. Softw. Eng. Methodol. , 2 , 1 - 35
-
6)
- Lu, Y., Yan, D., Nie, S., Wang, C.: `Development of an improved GUI automation test system based on event-flow graph', Proc. Int. Conf. on Computer Science and Software Engineering, 2008, p. 712–715.
-
7)
- Microsoft UI Automation. Available at http://msdn.microsoft.com/en-us/library/ms747327.aspx.
-
8)
- Kasik, D.J., George, H.G.: `Toward automatic generation of novice user test scripts', Proc. Conf. on Human Factors in Computing Systems: Common Ground, 1996, New York, p. 244–251.
-
9)
- Memon, A., Soffa, M.L., Pollack, M.E.: `Coverage criteria for GUI testing', Proc. Eighth European Software Engineering Conf. (ESEC) and Ninth ACM SIGSOFT Int. Symp. on Foundations of Software Engineering (FSE-9), 2001, p. 256–267, 26, (5).
-
10)
- Memon, A.: `A comprehensive framework for testing graphical user interfaces, 2001', July 2001, PhD, University of Pittsburgh, Department of Computer Science.
-
11)
- Shehady, R.K., Siewiorek, D.P.: `A method to automate user interface testing using variable finite state machines', Proc. 27th Annual Int. Symp. on Fault-Tolerant Computing (FTCS'97), June 1997, Piscataway, NJ, p. 80–88.
-
12)
- K. Li , M. Wu . (2005) Effective GUI test automation: developing an automated GUI testing tool.
-
13)
- A. Memon . Automatically repairing event sequence-based GUI test suites for regression testing. ACM Trans. Softw. Eng. Methodol. , 2 , 1 - 36
-
14)
- White, L., Almenzen, H., Alzeidi, N.: `User-based testing of GUI sequences and their interaction', Proc. Int. Symp. on Software Reliability Engineering, 8–11 November 2001, Piscataway, NJ, p. 54–63.
-
15)
- Y. Xun , A. Memon . Iterative execution-feedback model-directed GUI testing. Inf. Softw. Technol. , 5 , 559 - 575
-
16)
- X. Yuan , M.B. Cohen , A. Memon . GUI interaction testing: incorporating event context. IEEE Trans. Softw. Eng. , 4 , 559 - 574
-
17)
- GUITAR. Available at http://guitar.sourceforge.net/.
-
18)
- Yuan, X., Memon, A.: `Using GUI run-time state as feedback to generate test cases', Proc. 29th Int. Conf. on Software Engineering, 2007, Washington, DC, USA, p. 396–405.
-
19)
- Xie, Q., Memon, A.: `Studying the Characteristics of a ‘Good’ GUI Test Suite', Proc. 17th Int. Symp. on Software Reliability Engineering (ISSRE'06), 2006, p. 159–168.
-
20)
- A.M. Memon . An event-flow model of GUI-based applications for testing. Softw. Test. Verif. Reliab. , 3 , 137 - 157
-
21)
- A. Memon , Q. Xie . Studying the fault-detection effectiveness of GUI test cases for rapidly evolving software. IEEE Trans. Softw. Eng. , 10 , 884 - 896
-
22)
- Huang, S., Cohen, M.B., Memon, A.: `Repairing GUI Test suites using a genetic algorithm', Proc. Third IEEE Int. Conf. on Software Testing, Verification and Validation, 2010, Washington, DC, USA.
-
23)
- Memon, A., Banerjee, I., Nagarajan, A.: `GUI ripping: reverse engineering of graphical user interfaces for testing', Proc. Tenth Working Conf. Reverse Engineering, 2003.
-
24)
- Memon, A., Pollack, M.E., Soffa, M.L.: `Automated test oracles for GUIs', Proc. ACM SIGSOFT Eighth Int. Symp. on Foundations of Software Engineering (FSE-8), 2000, NY, p. 30–39, 25, (6).
-
1)