无法更新calabash服务器版本 [英] Can't update calabash server version
问题描述
更新Calabash服务器版本时遇到问题。
问题是我可以运行检查元素的基本测试...但是,一旦我尝试触摸按钮,calabash返回
Having a problem updating the Calabash server version. The problem is that I can run basic tests that check for elements... However, once I try to "touch" buttons calabash returns
RuntimeError:无法解析响应'';该应用程序可能已崩溃
RuntimeError: Could not parse response ''; the app has probably crashed
我认为问题的根源是我的服务器版本旧/不兼容。不是火箭科学:
The origin of the problem, I believe, is that my server version is old/incompatible. Not rocket science:
警告:服务器版本与gem版本不兼容。请
更新您的服务器。
https://github.com / calabash / calabash-ios / wiki / B1-Updating-your-Calabash-iOS-version
gem version: '0.14.3'
min server version: '0.14.3'
server version: '0.9.169'
该链接已过时,但我按照 https://github.com/calabash/calabash-ios/wiki/Updating-your-Calabash-iOS-version 。
当我检查版本时它仍然是0.9.169
The link is outdated, but I followed all steps in https://github.com/calabash/calabash-ios/wiki/Updating-your-Calabash-iOS-version many times. And still when I check the version it is 0.9.169
irb(main):006:0> server_version['version']
"0.9.169"
任何帮助都将不胜感激!
谢谢
Any help would be greatly appreciated! Thanks
推荐答案
终于解决了!
It事实证明,这一切都与我的Xamarin项目中的calabash组件有关。
It turns out that it all had to do with the calabash component in my Xamarin project.
几个月前我第一次开始尝试测试时,我添加了calabash组件(如下图所示)
When I first started experimenting with tests few month ago I added the calabash component (image below)
< img src =https://i.stack.imgur.com/XFGmk.pngalt =Calabash component>
当我开始添加更多测试时,我仍然有相同的组件。据我所知,这个组件是最新的。然后我尝试删除它并再次添加它但我再也找不到它了。
When I started adding some more tests now, I still had the same component. This component is up to date as far as I can tell. I then tried to remove it and add it again but I could no longer find it.
原来它现在被称为Xamarin Test Cloud Agent。我安装了该组件并完成了。
Turns out that now it is called "Xamarin Test Cloud Agent". I installed that component and DONE.
希望这对任何人都有帮助。
Hope this helps anyone.
这篇关于无法更新calabash服务器版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!