为什么我得到错误调用测试类的初始化方法? [英] Why i am getting Error calling Initialization method for test class ??

查看:118
本文介绍了为什么我得到错误调用测试类的初始化方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello


当我通过远程机器中的测试代理部署我的测试时,我收到以下错误 


错误调用测试类的初始化方法测试:Microsoft。 VisualStudio.TestTools.UITest.Extension.UITestException:
自动化引擎无法回放测试,因为它无法与桌面交互。如果运行测试的计算机被锁定或其远程会话窗口被最小化,则可能发生这种情况

b

问题是我收到此错误的几个测试用例和其他几个测试用例运行正常。 


所以无法弄清楚为什么我收到此错误。


任何人都可以请帮助我出去了。


谢谢





PV

解决方案

无法使用测试管理器播放录制的步骤


确保您的远程会话处于恢复模式,不t在full \ maximimized模式下。


此致


Hello

When I deploy my tests through Test agent in Remote machine i am getting the following error 

Error calling Initialization method for test class Tests: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop. This could happen if the computer running the test is locked or it’s remote session window is minimized

The issue is i am getting this error for few test cases and other other few test cases run fine. 

So not able to figure it out why i am getting this error.

Can anyone please help me out.

Thank you


PV

解决方案

unable to play recorded steps using test manager

Ensure that your remote session is in restore mode and not in full\maximized mode.

Regards


这篇关于为什么我得到错误调用测试类的初始化方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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