Automated GUI Testing .NET CF (Windows Mobile 5)

こ雲淡風輕ζ 提交于 2019-12-04 10:04:48

AutoHotKey is available for the windows ce / mobile please look at http://www.autohotkey.net/~Micha/AutohotkeyCE/html/index.htm. I use this along with a script to perform an automated test. The application under test produces logging information that I assert things to prove the test is working.

Before this I used the ActiveSyncRemoteDisplay tool with the windows mobile power toys and autohotkey on the desktop. I still use this combination (along with the windows spy) to note the xy co-ordinates of certain screen spots.

Not done any WM GUI testing before but recommend HoppeR be part of your testing also.

I have done simple GUI testing with AutoHotKey http://www.autohotkey.com/. This would of course only work while running your mobile application in a VM, but would be good for regression testing. As a developer, I have tried other testing platforms but they have always seemed to have major short comings, be overpriced and under utilized. The main reason for this can be the lack of a dedicated testing department. If you are not doing test driven development start there, then progress to something [relatively] simple and free like AutoHotKey. If you find that AutoHotKey is being utilized and finding or helping to prevent problems then investigate moving up to more powerful tools as needed.

We build websites at work and we use sikuli http://groups.csail.mit.edu/uid/sikuli/ to do simple gui testing also unit testing. We leverage the graphical programming aspect of sikuli to do certain gui operations on a certain widget.

The macro recording of autohotkey and the graphical programming style of sikuli complement each other purrrfectly. Personally I prefer sikuli because it supports the syntax of python, the coding style is more structured and consistent than the ahk language.

I haven't tried it, but it looks like an amazing tool. EggPlant does automated UI testing using image recognition and allows testing across a VPN connection. It support Andriod and iOS , as well as your standard desktop operating systems. Its not cheep, but would be great for anybody developing cross platform applications, or somebody that doesn't want to invest a lot of effort in a bunch of platform specific tools.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!