编码的UI Test_C#_manual_intervention [英] Coded UI Test_C#_manual_intervention

查看:221
本文介绍了编码的UI Test_C#_manual_intervention的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过键盘或鼠标交互介入在C#中编码的UI测试的执行。比如我想按Tab键暂停试验,并继续它,当我再次按Tab键。非常感谢你提前。

I want to intervene execution of a coded UI test in C# by keyboard or mouse interactions. For example I would like to pause a test by pressing Tab key and continue to it when I press Tab key again . Thank you very much in advance.

推荐答案

您的计算机上的东西,我同意编码您的计算机上建立一个虚拟机上运行的测试纳瓦布的回答。

Since you mentioned in a comment that you want to pause the test in order to do other things on your computer, I agree with Coding Nawab's answer of setting up a virtual machine on your computer and running the tests on that.

只要测试上运行虚拟机,你可以做任何你与运行测试的虚拟机实例之外的计算机一样。举例来说,我运行在虚拟机上的自动测试,因为我写这篇文章。

As long as the test is running on the virtual machine, you can do anything you like with your computer outside of the VM instance running the tests. For instance, I'm running an automated test on a VM as I write this.

这篇关于编码的UI Test_C#_manual_intervention的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆