本文介绍了以编程方式在模拟器中启动 WinPhone7 应用程序(用于自动化测试)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试寻找一种方法在模拟器中启动 WP7 应用程序,作为自动化测试系统的一部分.我已经尝试从命令行运行 XapDeploy.exe 并指定了 xap,但没有运气(值得一试,对吗?).

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?

推荐答案

Justin Angel 写了一篇非常详细的文章,介绍了自动与仿真器交互以进行测试.它包含远程写入隔离存储的详细信息,如果您需要设备/模拟器上的数据作为测试的一部分,这可能会很有用.

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

这篇关于以编程方式在模拟器中启动 WinPhone7 应用程序(用于自动化测试)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-01 06:48