Launch WinPhone7 app in emulator programmatically (for automated testing)

你离开我真会死。 提交于 2019-12-22 15:55:14

问题


I'm trying to find a way to launch WP7 applications in the emulator as part of an automated test system. I've tried running XapDeploy.exe from the commandline with a xap specified, no luck there (was worth a shot, right?).

I can just terminate the emulator process after a certain amount of time... if only I could launch it. Anybody know if there's a way?


回答1:


Justin Angel has written a really detailed post on automating interaction with the emultor for testing. It includes details for remotely writing to isolated storage whihc may be useful if you need data on the device/emulator as part of your testing.

http://justinangel.net/WindowsPhone7EmulatorAutomation




回答2:


It seems you can launch the emulator using XDE.exe



来源:https://stackoverflow.com/questions/3806477/launch-winphone7-app-in-emulator-programmatically-for-automated-testing

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