在虚拟机中运行时,运行手动测试无法找到控件 [英] Running Manual Tests fails to find controls when running in a Virtual Machine
问题描述
所以我设置了一个虚拟机,我正在尝试使用动作录制进行手动测试。安装了虚拟机上的代理,并且在实验室管理器中的测试旁边有一个挂锁符号,这通常是一个检查,所以我假设它正在连接到虚拟机。在
MTM中,我可以点击Connect,它会启动正确的虚拟机,但是当我玩或尝试记录控制时,它无法找到它们。
So i have setup a VM and i'm trying to run a manual test with an action recording. the agents on the VM are installed and there is a padlock symbol next to Testing in lab manager, which is normally a check so i assume it is connecting to the VM fine. In MTM i can click Connect and it launches the correct VM but when ever i play or try to record controls it fails to find them.
我能错过什么?
推荐答案
Hi Nitro52,
Hi Nitro52,
不支持VM上的动作录制。
Action recordings on a VM are not supported.
您必须在主机上记录您的操作或在远程计算机上安装MTM并在那里记录操作。
You would have to record your actions on your host or install MTM on the remote machine and record actions there.
谢谢
-Allen Mathias
-Allen Mathias
这篇关于在虚拟机中运行时,运行手动测试无法找到控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!