chocojosh
chocojosh

Reputation: 907

Automated GUI Testing .NET CF (Windows Mobile 5)

My company is looking into using automated GUI testing for our current app before proceeding to alpha. Our current main focus is robustness testing, one way we want to achieve this is automated UI testing that can be repeated over several hours/days.

For our desktop version we've decided on AutomationElement, and I've seen several free open source frameworks. For .NET CF the options seem more limited. I found M-eux Test, but the license fee is a little bit steep. I also found Test Complete 7, which I am planning on looking into.

The tests will be written by programmers. Support for being able to affect specific UI elements would be nice, although a simple record/playback may be satisfactory for our current needs.

Developing for Windows Mobile 5.0. Support for Windows CE would be nice, but not required.

Has anyone been in this situation before? Any tools that you recommend? Any best practices I should be aware about?

Upvotes: 4

Views: 3204

Answers (5)

BenCamps
BenCamps

Reputation: 1834

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.

Upvotes: 0

jasi
jasi

Reputation: 1

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.

Upvotes: 0

Barry
Barry

Reputation:

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.

Upvotes: 2

pdavis
pdavis

Reputation: 3211

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.

Upvotes: 0

Matt Lacey
Matt Lacey

Reputation: 65564

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

Upvotes: 1

Related Questions