我刚接受测试。我被要求为Windows metro风格的应用程序执行功能测试。有没有在本地机器环境中使用C#编程启动/部署/部署Windows metro应用程序的方法?以编程方式启动Windows metro应用程序
另外我想知道如果在C#语言的Windows metro应用程序被认为是本地或混合?
我刚接受测试。我被要求为Windows metro风格的应用程序执行功能测试。有没有在本地机器环境中使用C#编程启动/部署/部署Windows metro应用程序的方法?以编程方式启动Windows metro应用程序
另外我想知道如果在C#语言的Windows metro应用程序被认为是本地或混合?
实例化激活管理器并调用IApplicationActivationManager::ActivateInstance
。您可以在"Automating the testing of Windows 8 apps"(该文章包含一个完整的示例)中找到有关如何执行此操作的所有信息。
谢谢,但链接中提供的代码是在C++中,我可以吗?在C#中获得一些东西? – user2074437 2013-02-20 06:56:04
复制[IApplicationActivationManager :: ActivateApplication in C#?](http://stackoverflow.com/questions/12925748/iapplicationactivationmanageractivateapplication-in-c) – 2013-02-20 07:02:39