开发者

Simulate user input with Windows Phone 7 Emulator

I've seen examples of u开发者_C百科sing the Microsoft.Smartdevice.Connectivity.dll library to deploy WP7 applications to the emulator.

Is it possible to then automate user input to the device as well to perform UI testing of the application running in the emulator?


The emulator doesn't include support for this.

However, if you were using a UI test automation tool you may be able to simulate the clicks/UI interaction from a script runnign on the host PC.

I've never used a UI automation test tool with a VM/emulator but that's currently the only option available to you.

Unless you have a very complicated application it may be quicker and easier to test the UI manually though as a tool wouldn't be able to query the state of the app running in the emulator and so would only have limited usage.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜