In GUI tests, identifying personalized controls, simulating user behavior, and displaying on-screen verification results often become the bottleneck of automated testing. In most cases, such testing scenarios still rely on manual testing. This article introduces a new graphical programming technology, Sikuli, which gets rid of its dependence on the control API, obtains operation objects through real-time image retrieval on the current screen, and simulates user behavior, match the screen area to verify the actual visual display results. In this paper, through its practical application analysis and program examples in Gui automated testing, this paper expounds the application ideas brought by it (to: http://www.ibm.com/developerworks/cn/opensource/os-cn-sikuli)
1. Environment:
Java 6 or Java 7 Ps: Java 8 has not been tested
Sikuli Study Notes (1)