Title :
BlackHorse: Creating smart test cases from brittle recorded tests
Author :
Carino, Santo ; Andrews, James H. ; Goulding, Sheldon ; Arunthavarajah, Pradeepan ; Florio, Tony ; Hertyk, Jakub
Author_Institution :
Dept. of Comput. Sci., Univ. of Western Ontario, London, ON, Canada
Abstract :
Testing software with a GUI is difficult. Manual testing is costly and error-prone, but recorded test cases frequently “break” due to changes in the GUI. Test cases intended to test business logic must therefore be converted to a less “brittle” form to lengthen their useful lifespan. In this paper, we describe BlackHorse, an approach to doing this that converts a recorded test case to Java code that bypasses the GUI. The approach was implemented within the testing environment of Research In Motion. We describe the design of the toolset and discuss lessons learned during the course of the project.
Keywords :
Java; graphical user interfaces; program testing; BlackHorse; GUI; Java code; brittle recorded tests; business logic; manual testing; smart test cases; software testing; testing environment; Business; Generators; Graphical user interfaces; Java; Manuals; Software; Testing; program generation; software testing; test recording and playback;
Conference_Titel :
Automation of Software Test (AST), 2012 7th International Workshop on
Conference_Location :
Zurich
Print_ISBN :
978-1-4673-1821-1
DOI :
10.1109/IWAST.2012.6228996