解决CI调用Ranorex运行web测试失败的问题
来源:互联网 发布:大数据趋势分析 编辑:程序博客网 时间:2024/05/30 04:06
安装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 manually using following command (from the installationfolder of the Build Agent):
.\bin\agent start
有介绍到windows服务没有足够权限运行UI测试,需要将CI服务设置成非自动启动,CI采用命令行启动。
TeamCity:
.\bin\agent start
QuickBuild:
.\bin\server.bat console
然后CI就可以调用Ranorex运行web测试了。
- 解决CI调用Ranorex运行web测试失败的问题
- Ranorex 5.1发布,支持移动Web测试
- ODBC测试成功,调用失败的问题。
- Rails中rspec测试xxx_path调用失败的解决
- 配置持续集成QuickBuild调用Ranorex进行IOS自动化测试
- 解决在ios5 simulator运行失败的问题 (weak linke)
- KNI接口 "KNI_GetFieldID" 调用失败问题的解决
- Ranorex自动化测试方法
- 解决.NET下Web项目打开失败的问题
- 解决.NET下Web项目打开失败的问题
- 解决MyEclipse10.7 部署Web Project 失败的问题
- 一次测试环境运行正常,而生产环境运行失败的问题排查
- 解决doxygen绘制函数调用失败问题
- 解决robotium一个类多个测试不能同时运行的问题
- OleInitialize 运行失败的问题
- 解决Lunix下的大内存分配运行失败问题---未解决
- PHP调用python,shell命令执行成功,web运行失败
- SystemParametersInfo调用失败的问题
- 【数据结构学习笔记】——用链表形式的栈完成汉诺塔
- 【整理】Android中EditText中的InputType类型含义与如何定义
- Android 6.0系统读写文件出现FileNotFoundException:EACCES (permission denied)解决办法
- 数据结构-栈应用-迷宫
- mybatis自增主键配置
- 解决CI调用Ranorex运行web测试失败的问题
- 网络IO之阻塞、非阻塞、同步、异步总结
- 月TOP合并层
- mariadb克隆
- C#检测是否有Sql危险字符
- webuploader 上传传自定义参数
- UI神器-SOUI
- 图像直方图与直方图均衡化
- 关于c使用assert