安装TeamCityBuild或QuickBuild作为服务启动后,运行web测试,会弹出"交互式服务对话框检测"对话框,Ranorex无法识别windows控件,无法自动完成web测试,运行测试失败。
解决办法:
查看官方博客,
To run Ranorexautomation on your build agents, you have to make sure not to start them as awindows service since a service does not have sufficient rights to startUI-applications. If you have installed the Build Agent as a service, open the‘Services’ tool (which is part of the ‘Administrative Tools’ in the controlpanel), choose ‘TeamCity Build Agent’ service, stop the service, and set the‘Startup type’ to disabled.
The TeamCity BuildAgent can be started manua