【问题标题】:Launching a windows metro app programmatically以编程方式启动 Windows Metro 应用程序
【发布时间】:2013-02-05 02:01:06
【问题描述】:

我是测试新手。我被要求为 Windows Metro 风格应用程序执行功能测试。有没有办法在本地机器环境中使用 C# 以编程方式启动/部署/重新部署 Windows Metro 应用程序?

我还想知道 C# 语言的 windows metro 应用程序是原生的还是混合的?

【问题讨论】:

标签: c# deployment windows-8 functional-testing


【解决方案1】:

实例化激活管理器并调用IApplicationActivationManager::ActivateInstance。您可以在"Automating the testing of Windows 8 apps"(该文章包含完整示例)中了解如何执行此操作。

【讨论】:

  • 谢谢,但是链接中提供的代码是 C++ 的,我能用 C# 得到什么吗?
猜你喜欢
  • 2011-03-27
  • 2015-02-02
  • 1970-01-01
  • 2013-07-30
  • 2012-07-24
  • 1970-01-01
  • 2014-07-05
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多