| || |
Pocket PC Emulator
We are developing an app for the Pocket PC using Embedded C++ 4.0 and Microsoft Pocket PC 2003 SDK. I am hoping to be able to automate testing of this application using the Pocket PC emulator that runs on the PC. However, I'm finding that TP seems to be unable to find any objects in the application that runs on the emulator.
Has anyone successfully automated a Pocket PC application in this way? Can you provide hints about how it was accomplished?
Re: Pocket PC Emulator
The problem with the Pocket PC emulator is that it does a very good job of actually emulating the Pocket PC hardware [img]images/icons/rolleyes.gif[/img]
This means that the client area of the window that is the emulator is just a bitmap. There are no objects (that exist inside the Pocket PC itself) that are exposed through to the Windows environment (host).
You will be limited to Click() and BitmapSelect() statements to automate the emulator. Bitmap checks to validate that the emulator behaved itself correctly and Bitmap events to syncronise.
If your application was written with .Net you could create a version that ran natively on the Windows desktop. This would present itself as a .Net application that is supported by TestPartner. The drawback is that you are not testing the "actual application but it would allow some automation of the testing of the logic of the program (the code would be the same right?)
My two pence worth.