我需要在 Windows7 虚拟机上使用 RFT 和 IE 运行夜间自动化测试。我发现在测试开始之前重新启动 Windows 框会有所帮助。
我正在将生产环境从 Windows XP 转移到 Windows 7。 RFT 曾经在运行 RFT 脚本时抱怨 CRFCN0557E: Activation failed when running under a Terminal Services environment. This may be caused by using a minimized terminal window - try playing back without minimizing the terminal window (it does not need to be full-screen).
tscon.exe 0 /dest:console在启动任何 RFT 脚本之前运行可修复 Windows XP 上的错误。但不是在 Windows7 上。
我做了一些研究,并尝试了几个小时来解决这个问题,但没有任何帮助。Windows7 上没有打开屏幕保护程序。
我试图同时运行两者,但没有任何帮助。
tscon.exe 0 /dest:console
tscon.exe 1 /dest:console
Run Code Online (Sandbox Code Playgroud)
在 Windows7 上 tscon 返回 …