我已经使用适用于Android的calabash准备了UITest。测试在本地设备上工作正常,但是当我尝试使用Xamarin测试云时,我得到的是停止错误:
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)
为什么会出现这样的错误?这是我的葫芦测试代码:
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 info
calabash_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
答案 0 :(得分:0)
我遇到了类似的问题,请参考 Facing "Stalled error " on Xamarin test cloud when Xamarin.ios Uitest ran from Xamarin Studio
当我在xamarin测试云设备选择中将设备手机更改为平板电脑时,我的错误已解决,但是我检查了项目的属性,这些是指向通用设备(不是特定于手机/平板电脑)