简体   繁体   English

C#自动化代码

[英]c# automation code

I need to write C# automation script for metro app testing. 我需要为都市应用测试编写C#自动化脚本。 I am using ranorex tool. 我正在使用ranorex工具。 How do I launch the application present on metro UI through the script? 如何通过脚本启动Metro UI上存在的应用程序? If I record and play back, it doesn't work on the different system. 如果我录制并播放,则无法在其他系统上运行。 Please suggest script to launch the metro app. 请建议脚本启动Metro应用程序。 I do not know the folder/path to the metro app as it is hidden. 我不知道Metro应用程序的文件夹/路径,因为它是隐藏的。

Thanks 谢谢

There is a framework called UIA provided by Microsoft for automating Windows 8 apps. Microsoft提供了一个名为UIA的框架,用于自动执行Windows 8应用程序。 This link would give you the brief idea. 链接将给您简要的想法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM