如何使用Coded UI将Metro和Desktop应用程序自动化结合起来 [英] How to combine both Metro and Desktop apps automation using Coded UI
问题描述
我正致力于Windows 10上某些方案的自动化。
I am working on automation of some scenarios on windows 10.
许多方案都有步骤它涉及桌面应用程序和Windows的Metro应用程序。但在Visual Studio中,有单独的模板可用于桌面(测试单元测试)和metro应用程序(Windows Universal单元测试)。
Many scenarios have steps which involve both Desktop apps and Metro apps of windows. But in Visual studio there are separate templets to work on desktop(Test Unit Testing) and metro apps(Windows Universal unit testing).
由于这两种类型的解决方案我无法结合混合方案涉及桌面和城域应用程序。任何人都可以知道如何将这两者结合起来。
Because of this two types of solution I can't combine hybrid scenarios which involve both desktop and metro apps. Can any one know the way to combine these two.
在此先感谢。
推荐答案
嗨朋友,
感谢您在这里发帖。
您说得对,UWP和桌面应用程序分别有两个不同的Coded UI项目,它们不能混合使用。这意味着我们只能一次测试每一个。
You are right, there are two different Coded UI project for UWP and desktop apps respectively, and they could not be mixed. Which means we could only test each of them once time.
但是,有一个名为 Appium 的跨平台工具,它可用于测试这两种应用,所以我如果您有任何兴趣,建议您试试:
But, there is a cross-platform tool called Appium, and it could be used to test both two kinds of apps, so I recommend you try it if you have any interest:
祝你好运,
Fletcher
这篇关于如何使用Coded UI将Metro和Desktop应用程序自动化结合起来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!