我为Android准备了使用calabash的UITest。测试在本地设备上工作得很好,但是当我尝试使用Xamarin Test Cloud时,我得到的所有信息都是Stalled:
2016-06-22 09:03:13 +0200 Validating
2016-06-22 09:03:23 +0200 Validating
2016-06-22 09:03:34 +0200 Validating
2016-06-22 09:03:56 +0200 Stalled error (support team notified)
2016-06-22 09:04:06 +0200 Stalled error (support team notified)为什么会出现这样的错误?下面是我的calabash测试代码:
first.features文件
Feature: First run feature
Scenario: As a new user I can choose my region
Given I am on choose region page
When I press list item number 1
Then I touch the select button
Then I shold see infocalabash_steps.rb文件
# encoding: utf-8
require 'calabash-android/calabash_steps'
Then(/^I am on choose region page$/) do
sleep(1)
end
Then(/^I touch the select button$/) do
touch("* marked:'selectButton'")
end
Then(/^I shold see info$/) do
sleep(3)
element_exists("* marked:'text1'")
sleep(10)
end发布于 2016-11-30 21:22:45
我也遇到过类似的问题,请参考Facing "Stalled error " on Xamarin test cloud when Xamarin.ios Uitest ran from Xamarin Studio
当我在xamarin测试云设备选择上将设备phone更改为tablet时,我的错误解决了,但是我检查了项目的属性,这些属性指向通用设备(不特定于手机/平板电脑)
https://stackoverflow.com/questions/37960964
复制相似问题